--- libawn/awn-applet-simple.c 2010-02-12 18:37:38.000000000 -0600 +++ libawn/awn-applet-simple.c 2010-04-13 21:42:28.000000000 -0500 @@ -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)));