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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mateweather/src/mateweather-pref.c b/mateweather/src/mateweather-pref.c
index 12ef8864..d7ffe868 100644
--- a/mateweather/src/mateweather-pref.c
+++ b/mateweather/src/mateweather-pref.c
@@ -798,7 +798,6 @@ on_response (GtkDialog *dialog,
}
}
-
static void
mateweather_pref_create (MateWeatherPref* pref)
{
@@ -834,7 +833,6 @@ mateweather_pref_create (MateWeatherPref* pref)
GtkWidget* pref_find_hbox;
GtkWidget* image;
-
g_object_set (pref, "destroy-with-parent", TRUE, NULL);
gtk_window_set_title (GTK_WINDOW (pref), _("Weather Preferences"));
gtk_dialog_add_buttons (GTK_DIALOG (pref), "gtk-close", GTK_RESPONSE_CLOSE, "gtk-help", GTK_RESPONSE_HELP, NULL);