changeset 32689:737733593a29

Replace the deprecated gtk_notebook_set_tab_label_packing with a call to gtk_container_child_set with the relevant properties.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 09 Oct 2011 03:56:58 +0000
parents 295e8b7bb0b5
children 650d40e86c10
files pidgin/gtkconv.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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),