Browse Source

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

upstream/xfce4-panel-4.10.1
Nick Schermer 13 years ago
parent
commit
219a8b1bb2
  1. 5
      common/panel-xfconf.c

5
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 */

Loading…
Cancel
Save