Updating branch refs/heads/devel
         to ba89250703e3557b2042436068329a8c6a6660e8 (commit)
       from ebd3413db8a17862eae7f9674f388daa65b6dd00 (commit)

commit ba89250703e3557b2042436068329a8c6a6660e8
Author: Nick Schermer <[email protected]>
Date:   Thu Sep 3 21:07:29 2009 +0200

    Disable releasing the channel using a weak ref too for now.

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

diff --git a/common/panel-xfconf.c b/common/panel-xfconf.c
index 559473d..4d0db1c 100644
--- a/common/panel-xfconf.c
+++ b/common/panel-xfconf.c
@@ -41,7 +41,7 @@ panel_properties_get_channel (void)
 
   channel = xfconf_channel_get (XFCE_PANEL_PLUGIN_CHANNEL_NAME);
   /* TODO enable this again when Brian fixed his code
-   * _object_weak_ref (G_OBJECT (channel), (GWeakNotify) xfconf_shutdown, 
NULL); */
+   * g_object_weak_ref (G_OBJECT (channel), (GWeakNotify) xfconf_shutdown, 
NULL); */
 
   return channel;
 }
@@ -68,7 +68,8 @@ panel_properties_bind (XfconfChannel       *channel,
       channel = xfconf_channel_get (XFCE_PANEL_PLUGIN_CHANNEL_NAME);
       if (G_UNLIKELY (channel == NULL))
         return;
-      g_object_weak_ref (G_OBJECT (object), (GWeakNotify) g_object_unref, 
channel);
+      /* TODO enable this again when Brian fixed his code
+       * g_object_weak_ref (G_OBJECT (object), (GWeakNotify) g_object_unref, 
channel); */
     }
 
   /* walk the properties array */
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to