diff options
Diffstat (limited to 'community/avant-window-navigator/688_687.diff')
-rw-r--r-- | community/avant-window-navigator/688_687.diff | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community/avant-window-navigator/688_687.diff b/community/avant-window-navigator/688_687.diff new file mode 100644 index 000000000..34c5b8fa4 --- /dev/null +++ b/community/avant-window-navigator/688_687.diff @@ -0,0 +1,23 @@ +=== modified file 'libawn/awn-applet-simple.c' +--- libawn/awn-applet-simple.c 2010-01-10 14:43:43 +0000 ++++ libawn/awn-applet-simple.c 2010-04-11 21:08:28 +0000 +@@ -393,16 +393,16 @@ + GStrv states, + GStrv icon_names) + { +- gchar *applet_name; ++ gchar *applet_name=NULL; + + g_return_if_fail (AWN_IS_APPLET_SIMPLE (applet)); +- g_return_if_fail (applet_name); + g_return_if_fail (states); + g_return_if_fail (icon_names); + + g_object_get (applet, + "canonical-name",&applet_name, + NULL); ++ g_return_if_fail (applet_name); + applet->priv->last_set_icon = ICON_THEMED_MANY; + awn_themed_icon_set_size (AWN_THEMED_ICON (applet->priv->icon), + awn_applet_get_size (AWN_APPLET (applet))); + |