Replace the deprecated gtk_notebook_set_tab_label_packing with a call cpw.qulogic.gtk3

Sun, 09 Oct 2011 03:56:58 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sun, 09 Oct 2011 03:56:58 +0000
branch
cpw.qulogic.gtk3
changeset 32916
0c6fd72ffeb3
parent 32915
27891bd13ca3
child 32917
ca85d11c17ca

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

pidgin/gtkconv.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkconv.c	Sun Oct 09 03:40:34 2011 +0000
+++ b/pidgin/gtkconv.c	Sun Oct 09 03:56:58 2011 +0000
@@ -10024,9 +10024,9 @@
 		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),

mercurial