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

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