Commit d934deaa authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer
Browse files

change "error_dialog" variable to GtkWidget fo fix two warnings.

2008-07-04  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkprintoperation.c (print_pages): change "error_dialog"
	variable to GtkWidget fo fix two warnings.


svn path=/trunk/; revision=20759
parent ee37e0d6
2008-07-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkprintoperation.c (print_pages): change "error_dialog"
variable to GtkWidget fo fix two warnings.
2008-07-04 Michael Natterer <mitch@imendio.com>
Bug 539944 – Add GtkScaleButton API so struct fields can be marked
......
......@@ -2280,7 +2280,7 @@ print_pages (GtkPrintOperation *op,
if (!handled)
{
GtkMessageDialog *error_dialog;
GtkWidget *error_dialog;
error_dialog = gtk_message_dialog_new (parent,
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
......@@ -2294,13 +2294,13 @@ print_pages (GtkPrintOperation *op,
if (parent->group)
gtk_window_group_add_window (parent->group, GTK_WINDOW (error_dialog));
g_signal_connect (error_dialog, "response",
g_signal_connect (error_dialog, "response",
G_CALLBACK (gtk_widget_destroy), NULL);
gtk_widget_show (error_dialog);
print_pages_idle_done (data);
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment