Mercurial > geeqie.yaz
diff src/print.c @ 1174:0bea79d87065
Drop useless wmclass stuff. Gtk will take care of it and as said in the documentation using gtk_window_set_wmclass() is sort of pointless.
author | zas_ |
---|---|
date | Sun, 23 Nov 2008 16:10:29 +0000 |
parents | 3692efcbd325 |
children | 5a20c47e7a14 |
line wrap: on
line diff
--- a/src/print.c Sat Nov 22 22:54:51 2008 +0000 +++ b/src/print.c Sun Nov 23 16:10:29 2008 +0000 @@ -2001,7 +2001,7 @@ if (GTK_WIDGET_VISIBLE(pw->dialog->dialog)) parent = pw->dialog->dialog; - gd = generic_dialog_new(_("Printing error"), GQ_WMCLASS, "print_warning", + gd = generic_dialog_new(_("Printing error"), "print_warning", parent, TRUE, NULL, NULL); generic_dialog_add_button(gd, GTK_STOCK_OK, NULL, NULL, TRUE); @@ -2615,7 +2615,7 @@ gtk_widget_hide(pw->dialog->dialog); - pw->job_dialog = file_util_gen_dlg(_("Print"), GQ_WMCLASS, "print_job_dialog", + pw->job_dialog = file_util_gen_dlg(_("Print"), "print_job_dialog", (GtkWidget *)gtk_window_get_transient_for(GTK_WINDOW(pw->dialog->dialog)), FALSE, print_job_cancel_cb, pw); @@ -3371,7 +3371,7 @@ pw->save_settings = print_pref_int(PRINT_PREF_SAVE, TRUE); - pw->dialog = file_util_gen_dlg(_("Print"), GQ_WMCLASS, "print_dialog", + pw->dialog = file_util_gen_dlg(_("Print"), "print_dialog", parent, FALSE, print_window_cancel_cb, pw);