Mercurial > pidgin
view gtk/plugins/docklet/Makefile.am @ 14329:479164e18f1a
[gaim-migrate @ 17024]
If you loaded this plugin and activated one of the color preference check
boxes but never actually set a color choice you could cause gtk to crash when
it failed to understand a color setting of "". This is really a gtk+ bug since
they shouldn't crash on that but this workaround was easy and sensible.
I just added some minimal sanity checking to the values returned from
gaim_prefs_get_string (non-NULL and non-empty), it isn't perfect but it solves
the simple case.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Thu, 24 Aug 2006 20:25:57 +0000 |
parents | 60b1bc8dbf37 |
children | 69590c55c748 |
line wrap: on
line source
EXTRA_DIST = \ Makefile.mingw \ docklet-win32.c \ MinimizeToTray.c \ MinimizeToTray.h plugindir = $(libdir)/gaim docklet_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) if PLUGINS plugin_LTLIBRARIES = docklet.la docklet_la_SOURCES = \ eggtrayicon.h \ eggtrayicon.c \ docklet.h \ docklet.c \ docklet-x11.c endif AM_CPPFLAGS = \ -DDATADIR=\"$(datadir)\" \ -DVERSION=\"$(VERSION)\" \ -I$(top_srcdir)/libgaim \ -I$(top_srcdir)/gtk \ $(DEBUG_CFLAGS) \ $(X_CFLAGS) \ $(GTK_CFLAGS)