changeset 15053:51f3c0df6ab4

[gaim-migrate @ 17836] Warning fixes committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 28 Nov 2006 07:26:00 +0000
parents 34e049e6ce10
children 06b0b50d3617
files gtk/gtkscrollbook.c gtk/gtkutils.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkscrollbook.c	Tue Nov 28 07:06:37 2006 +0000
+++ b/gtk/gtkscrollbook.c	Tue Nov 28 07:26:00 2006 +0000
@@ -89,7 +89,7 @@
 {
 	char *label;
 
-	gtk_widget_show_all(scroll_book);
+	gtk_widget_show_all(GTK_WIDGET(scroll_book));
 	if (count <= 1)
 		gtk_widget_hide(GTK_WIDGET(scroll_book->hbox));
 	else
--- a/gtk/gtkutils.c	Tue Nov 28 07:06:37 2006 +0000
+++ b/gtk/gtkutils.c	Tue Nov 28 07:26:00 2006 +0000
@@ -2957,7 +2957,7 @@
 		gtk_label_set_markup_with_mnemonic(GTK_LABEL(label), label_text);
 		gtk_misc_set_alignment(GTK_MISC(label), 0.5, 0.5);
 		gtk_box_pack_start(GTK_BOX(hbox), label, TRUE, TRUE, 0);
-		gtk_box_pack_end(GTK_CONTAINER(hbox2), button, FALSE, FALSE, 0);
+		gtk_box_pack_end(GTK_BOX(hbox2), button, FALSE, FALSE, 0);
 		gtk_size_group_add_widget(sg, button);
 	}
 	va_end(args);