blob: 699e21f39d584cadee467db192c8ec63debdfe3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- 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)));
|