summaryrefslogtreecommitdiff
path: root/plugins/gtkui/interface.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-13 21:38:12 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-13 21:38:12 +0200
commitc70bec8a21dfbb5dd81769ef4be2e705eb34735c (patch)
treef87515cfcfb4df4146c5e38320e971bcb6eae2f0 /plugins/gtkui/interface.c
parentb8158df3229ca89fd984538c90e784629b293758 (diff)
port to gtk3
Diffstat (limited to 'plugins/gtkui/interface.c')
-rw-r--r--plugins/gtkui/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/interface.c b/plugins/gtkui/interface.c
index b7196501..9ef636de 100644
--- a/plugins/gtkui/interface.c
+++ b/plugins/gtkui/interface.c
@@ -21,7 +21,7 @@
#define GLADE_HOOKUP_OBJECT(component,widget,name) \
g_object_set_data_full (G_OBJECT (component), name, \
- gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
+ g_object_ref (G_OBJECT (widget)), (GDestroyNotify) g_object_unref)
#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
g_object_set_data (G_OBJECT (component), name, widget)