pidgin/win32/resource.h

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 16808
c0736ad72fd6
child 18068
b6554e3c8224
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/

#define PIDGIN_ICON			104
#define PIDGIN_TRAY_AVAILABLE_4BIT	105
#define PIDGIN_TRAY_AWAY_4BIT		106
#define PIDGIN_TRAY_BUSY_4BIT		107
#define PIDGIN_TRAY_XA_4BIT		108
#define PIDGIN_TRAY_OFFLINE_4BIT	109
#define PIDGIN_TRAY_CONNECTING_4BIT	110
#define PIDGIN_TRAY_PENDING_4BIT	111
#define PIDGIN_TRAY_INVISIBLE_4BIT      112

mercurial