cpw.qulogic.gtk3: 3e71f181: Replace the deprecated gtk_notebook_set_...

qulogic at pidgin.im qulogic at pidgin.im
Sun Oct 9 04:32:10 EDT 2011


----------------------------------------------------------------------
Revision: 3e71f18169c8434b365ef1432bb679ba0f009e86
Parent:   e096e79b8821a9157950853e848d8ecfc191a29a
Author:   qulogic at pidgin.im
Date:     10/08/11 23:56:58
Branch:   im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/3e71f18169c8434b365ef1432bb679ba0f009e86

Changelog: 

Replace the deprecated gtk_notebook_set_tab_label_packing with a call
to gtk_container_child_set with the relevant properties.

Changes against parent e096e79b8821a9157950853e848d8ecfc191a29a

  patched  pidgin/gtkconv.c

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	9cf1c4e20e6a8e6e94064cb42dbb85bf867f63aa
+++ pidgin/gtkconv.c	bb469159fe7eab1d6909b5d10a84a435f3f98ba3
@@ -10024,9 +10024,9 @@ pidgin_conv_tab_pack(PidginWindow *win, 
 		gtk_notebook_set_tab_label(GTK_NOTEBOOK(win->notebook), gtkconv->tab_cont, ebox);
 	}
 
-	gtk_notebook_set_tab_label_packing(GTK_NOTEBOOK(win->notebook), gtkconv->tab_cont,
-					   !tabs_side && !angle,
-					   TRUE, GTK_PACK_START);
+	gtk_container_child_set(GTK_CONTAINER(win->notebook), gtkconv->tab_cont,
+	                        "tab-expand", !tabs_side && !angle,
+	                        "tab-fill", TRUE, NULL);
 
 	if (pidgin_conv_window_get_gtkconv_count(win) == 1)
 		gtk_notebook_set_show_tabs(GTK_NOTEBOOK(win->notebook),


More information about the Commits mailing list