changeset 19887:d3116f28315e

... and the font dialog
author Gabriel Schulhof <nix@go-nix.ca>
date Fri, 17 Aug 2007 23:50:05 +0000
parents 79bebe1d27c1
children 0f5d5fff0e76
files pidgin/gtkimhtmltoolbar.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkimhtmltoolbar.c	Fri Aug 17 23:48:48 2007 +0000
+++ b/pidgin/gtkimhtmltoolbar.c	Fri Aug 17 23:50:05 2007 +0000
@@ -174,7 +174,8 @@
 			g_signal_connect_after(G_OBJECT(toolbar->font_dialog), "realize",
 							 G_CALLBACK(realize_toolbar_font), toolbar);
 		}
-		gtk_window_set_transient_for(GTK_WINDOW(toolbar->font_dialog), gtk_widget_get_toplevel(GTK_WIDGET(toolbar)));
+		gtk_window_set_transient_for(GTK_WINDOW(toolbar->font_dialog),
+		    GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(toolbar))));
 		gtk_window_present(GTK_WINDOW(toolbar->font_dialog));
 	} else {
 		cancel_toolbar_font(font, toolbar);
@@ -689,7 +690,7 @@
 	gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
 	gtk_window_set_role(GTK_WINDOW(dialog), "smiley_dialog");
 	gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_MOUSE);
-	gtk_window_set_transient_for(GTK_WINDOW(dialog), gtk_widget_get_toplevel(GTK_WIDGET(toolbar)));
+	gtk_window_set_transient_for(dialog, GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(toolbar))));
 
 	if (unique_smileys != NULL) {
 		struct smiley_button_list *ls, *it, *it_tmp;