Mercurial > pidgin.yaz
changeset 19886:79bebe1d27c1
... and the font dialog
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Fri, 17 Aug 2007 23:48:48 +0000 |
parents | fa67328ae028 |
children | d3116f28315e |
files | pidgin/gtkimhtmltoolbar.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkimhtmltoolbar.c Fri Aug 17 23:47:09 2007 +0000 +++ b/pidgin/gtkimhtmltoolbar.c Fri Aug 17 23:48:48 2007 +0000 @@ -174,7 +174,7 @@ g_signal_connect_after(G_OBJECT(toolbar->font_dialog), "realize", G_CALLBACK(realize_toolbar_font), toolbar); } - gtk_window_set_transient_for(GTK_WINDOW(toolbar->fontdialog), gtk_widget_get_toplevel(toolbar)); + gtk_window_set_transient_for(GTK_WINDOW(toolbar->font_dialog), gtk_widget_get_toplevel(GTK_WIDGET(toolbar))); gtk_window_present(GTK_WINDOW(toolbar->font_dialog)); } else { cancel_toolbar_font(font, toolbar); @@ -689,7 +689,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(toolbar)); + gtk_window_set_transient_for(GTK_WINDOW(dialog), gtk_widget_get_toplevel(GTK_WIDGET(toolbar))); if (unique_smileys != NULL) { struct smiley_button_list *ls, *it, *it_tmp;