pidgin/plugins/xmppconsole/meson.build

Thu, 11 Nov 2021 21:39:44 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 11 Nov 2021 21:39:44 -0600
changeset 41167
e2c60e7de2b1
parent 41116
dff0811ff40c
child 42468
3ea8d5befbe4
permissions
-rw-r--r--

Make sure the path for a buddy icon isn't an empty string before we attempt to load it as a pixbuf

Testing Done:
Ran with `G_DEBUG=fatal-warnings gdb pidgin3` in a `devenv` and verified it no longer stopped at startup.

Reviewed at https://reviews.imfreedom.org/r/1130/

xmppconsole_resource = gnome.compile_resources('xmppconsoleresources',
    'xmppconsole.gresource.xml',
    c_name : 'xmppconsole')

library('xmppconsole',
    'xmppconsole.c', xmppconsole_resource,
    c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-XMPPConsole"'],
    dependencies : [libpurple_dep, libpidgin_dep, glib],
    name_prefix : '',
    install : true, install_dir : PIDGIN_PLUGINDIR)

devenv.append('PIDGIN_PLUGIN_PATH', meson.current_build_dir())

mercurial