summaryrefslogtreecommitdiff
path: root/mateweather/src/mateweather-pref.c
diff options
context:
space:
mode:
Diffstat (limited to 'mateweather/src/mateweather-pref.c')
-rw-r--r--mateweather/src/mateweather-pref.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mateweather/src/mateweather-pref.c b/mateweather/src/mateweather-pref.c
index c0408a68..12ef8864 100644
--- a/mateweather/src/mateweather-pref.c
+++ b/mateweather/src/mateweather-pref.c
@@ -772,7 +772,9 @@ static void help_cb(GtkDialog* dialog, MateWeatherPref* pref)
if (error)
{
GtkWidget* error_dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("There was an error displaying help: %s"), error->message);
- g_signal_connect (G_OBJECT (error_dialog), "response", G_CALLBACK (gtk_widget_destroy), NULL);
+ g_signal_connect (error_dialog, "response",
+ G_CALLBACK (gtk_widget_destroy),
+ NULL);
gtk_window_set_resizable (GTK_WINDOW (error_dialog), FALSE);
gtk_window_set_screen (GTK_WINDOW (error_dialog), gtk_widget_get_screen (GTK_WIDGET (dialog)));
gtk_widget_show (error_dialog);