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

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