pidgin/plugins/gestures/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 41579
49d29706f311
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/

gestures_SOURCES = [
	'gestures.c',
	'gstroke.h',
	'gstroke-internal.h',
	'stroke.c',
	'stroke-draw.c'
]

gestures = library('gestures', gestures_SOURCES,
    c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-Gestures"'],
    dependencies : [libpurple_dep, libpidgin_dep, glib],
    name_prefix : '',
    install : true, install_dir : PIDGIN_PLUGINDIR)

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

mercurial