diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk-event_handler.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk-event_handler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/gnunet-fs-gtk-event_handler.c b/src/fs/gnunet-fs-gtk-event_handler.c index 3da406c9..826ff173 100644 --- a/src/fs/gnunet-fs-gtk-event_handler.c +++ b/src/fs/gnunet-fs-gtk-event_handler.c | |||
@@ -1076,7 +1076,7 @@ setup_search (struct GNUNET_FS_SearchContext *sc, | |||
1076 | sf = GTK_WINDOW (gtk_builder_get_object | 1076 | sf = GTK_WINDOW (gtk_builder_get_object |
1077 | (tab->builder, "_search_result_frame_window")); | 1077 | (tab->builder, "_search_result_frame_window")); |
1078 | tab->frame = gtk_bin_get_child (GTK_BIN (sf)); | 1078 | tab->frame = gtk_bin_get_child (GTK_BIN (sf)); |
1079 | gtk_widget_ref (tab->frame); | 1079 | g_object_ref (tab->frame); |
1080 | gtk_container_remove (GTK_CONTAINER (sf), tab->frame); | 1080 | gtk_container_remove (GTK_CONTAINER (sf), tab->frame); |
1081 | gtk_widget_destroy (GTK_WIDGET (sf)); | 1081 | gtk_widget_destroy (GTK_WIDGET (sf)); |
1082 | 1082 | ||
@@ -1084,7 +1084,7 @@ setup_search (struct GNUNET_FS_SearchContext *sc, | |||
1084 | sf = GTK_WINDOW (gtk_builder_get_object | 1084 | sf = GTK_WINDOW (gtk_builder_get_object |
1085 | (tab->builder, "_search_result_label_window")); | 1085 | (tab->builder, "_search_result_label_window")); |
1086 | tab->tab_label = gtk_bin_get_child (GTK_BIN (sf)); | 1086 | tab->tab_label = gtk_bin_get_child (GTK_BIN (sf)); |
1087 | gtk_widget_ref (tab->tab_label); | 1087 | g_object_ref (tab->tab_label); |
1088 | gtk_container_remove (GTK_CONTAINER (sf), tab->tab_label); | 1088 | gtk_container_remove (GTK_CONTAINER (sf), tab->tab_label); |
1089 | gtk_widget_destroy (GTK_WIDGET (sf)); | 1089 | gtk_widget_destroy (GTK_WIDGET (sf)); |
1090 | 1090 | ||
@@ -1556,7 +1556,7 @@ setup_publish (struct GNUNET_FS_PublishContext *pc, const char *fn, | |||
1556 | df = GTK_WINDOW (gtk_builder_get_object | 1556 | df = GTK_WINDOW (gtk_builder_get_object |
1557 | (tab->builder, "_publish_frame_window")); | 1557 | (tab->builder, "_publish_frame_window")); |
1558 | tab->frame = gtk_bin_get_child (GTK_BIN (df)); | 1558 | tab->frame = gtk_bin_get_child (GTK_BIN (df)); |
1559 | gtk_widget_ref (tab->frame); | 1559 | g_object_ref (tab->frame); |
1560 | gtk_container_remove (GTK_CONTAINER (df), tab->frame); | 1560 | gtk_container_remove (GTK_CONTAINER (df), tab->frame); |
1561 | gtk_widget_destroy (GTK_WIDGET (df)); | 1561 | gtk_widget_destroy (GTK_WIDGET (df)); |
1562 | 1562 | ||
@@ -1564,7 +1564,7 @@ setup_publish (struct GNUNET_FS_PublishContext *pc, const char *fn, | |||
1564 | df = GTK_WINDOW (gtk_builder_get_object | 1564 | df = GTK_WINDOW (gtk_builder_get_object |
1565 | (tab->builder, "_publish_label_window")); | 1565 | (tab->builder, "_publish_label_window")); |
1566 | tab_label = gtk_bin_get_child (GTK_BIN (df)); | 1566 | tab_label = gtk_bin_get_child (GTK_BIN (df)); |
1567 | gtk_widget_ref (tab_label); | 1567 | g_object_ref (tab_label); |
1568 | gtk_container_remove (GTK_CONTAINER (df), tab_label); | 1568 | gtk_container_remove (GTK_CONTAINER (df), tab_label); |
1569 | gtk_widget_destroy (GTK_WIDGET (df)); | 1569 | gtk_widget_destroy (GTK_WIDGET (df)); |
1570 | 1570 | ||