Blame SOURCES/0013-avahi-ui-Remove-deprecated-usage-of-gtk_widget_push_.patch

850466
From 305e5c6faab36e01f2ac7a26a9b1690a60e54275 Mon Sep 17 00:00:00 2001
850466
From: Trent Lloyd <trent@lloyd.id.au>
850466
Date: Thu, 16 Jan 2014 13:16:22 +0800
850466
Subject: [PATCH] avahi-ui: Remove deprecated usage of
850466
 gtk_widget_push_composite_child/gtk_widget_pop_composite_child
850466
850466
The composite API is deprecated in GTK3, it doesn't really do anything other than
850466
hide the container objects from gtk_container_foreach which no one is really doing
850466
with avahi-ui that I can find anyway, so we remove it entirely rather than make it
850466
conditional.
850466
850466
Ideally avahi-ui should be converted to GtkBuilder where there is a new composite API
850466
---
850466
 avahi-ui/avahi-ui.c | 4 ----
850466
 1 file changed, 4 deletions(-)
850466
850466
diff --git a/avahi-ui/avahi-ui.c b/avahi-ui/avahi-ui.c
850466
index 8f90b27..e3d38f5 100644
850466
--- a/avahi-ui/avahi-ui.c
850466
+++ b/avahi-ui/avahi-ui.c
850466
@@ -1121,8 +1121,6 @@ static void aui_service_dialog_init(AuiServiceDialog *d) {
850466
     p->service_list_store = p->domain_list_store = NULL;
850466
     p->service_type_names = NULL;
850466
 
850466
-    gtk_widget_push_composite_child();
850466
-
850466
     gtk_container_set_border_width(GTK_CONTAINER(d), 5);
850466
 
850466
 #if GTK_CHECK_VERSION(3,0,0)
850466
@@ -1198,8 +1196,6 @@ static void aui_service_dialog_init(AuiServiceDialog *d) {
850466
 
850466
     gtk_widget_show_all(vbox);
850466
 
850466
-    gtk_widget_pop_composite_child();
850466
-
850466
     p->glib_poll = avahi_glib_poll_new(NULL, G_PRIORITY_DEFAULT);
850466
 
850466
     p->service_pulse_timeout = g_timeout_add(100, service_pulse_callback, d);
850466
-- 
850466
2.7.4
850466