diff options
Diffstat (limited to 'mate-panel/libpanel-util/panel-error.c')
-rw-r--r-- | mate-panel/libpanel-util/panel-error.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mate-panel/libpanel-util/panel-error.c b/mate-panel/libpanel-util/panel-error.c index ccb3b2f1..81867a4a 100644 --- a/mate-panel/libpanel-util/panel-error.c +++ b/mate-panel/libpanel-util/panel-error.c @@ -80,9 +80,9 @@ panel_error_dialog (GtkWindow *parent, gtk_widget_show_all (dialog); if (auto_destroy) - g_signal_connect_swapped (G_OBJECT (dialog), "response", - G_CALLBACK (gtk_widget_destroy), - G_OBJECT (dialog)); + g_signal_connect_swapped (dialog, "response", + G_CALLBACK (gtk_widget_destroy), + dialog); if (freeme) g_free (freeme); |