updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / avant-window-navigator / fix-unitialized-pointer.patch
blob9e200060ad06f5fc0a101fa3b61c4b3921b76b05
1 --- libawn/awn-applet-simple.c 2010-01-10 14:43:43 +0000
2 +++ libawn/awn-applet-simple.c 2010-04-11 21:08:28 +0000
3 @@ -393,16 +393,16 @@
4 GStrv states,
5 GStrv icon_names)
7 - gchar *applet_name;
8 + gchar *applet_name=NULL;
10 g_return_if_fail (AWN_IS_APPLET_SIMPLE (applet));
11 - g_return_if_fail (applet_name);
12 g_return_if_fail (states);
13 g_return_if_fail (icon_names);
15 g_object_get (applet,
16 "canonical-name",&applet_name,
17 NULL);
18 + g_return_if_fail (applet_name);
19 applet->priv->last_set_icon = ICON_THEMED_MANY;
20 awn_themed_icon_set_size (AWN_THEMED_ICON (applet->priv->icon),
21 awn_applet_get_size (AWN_APPLET (applet)));