[Xfce4-commits] <xfce4-panel:devel> Fix a harmless compiler warning.

Nick Schermer noreply at xfce.org
Fri Sep 25 20:02:02 CEST 2009


Updating branch refs/heads/devel
         to 203e52db7cde77082b24c04dd66dfd09e0f5efbc (commit)
       from c2e4b8615e200961bc5b66985cd55d00794027a0 (commit)

commit 203e52db7cde77082b24c04dd66dfd09e0f5efbc
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Sep 24 20:08:01 2009 +0200

    Fix a harmless compiler warning.

 common/panel-xfconf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/panel-xfconf.c b/common/panel-xfconf.c
index 0332046..e3317c1 100644
--- a/common/panel-xfconf.c
+++ b/common/panel-xfconf.c
@@ -42,7 +42,7 @@ panel_properties_get_channel (GObject *object_for_weak_ref)
     }
 
   channel = xfconf_channel_get (XFCE_PANEL_PLUGIN_CHANNEL_NAME);
-  g_object_weak_ref (object_for_weak_ref, xfconf_shutdown, NULL);
+  g_object_weak_ref (object_for_weak_ref, (GWeakNotify) xfconf_shutdown, NULL);
 
   return channel;
 }



More information about the Xfce4-commits mailing list