summaryrefslogtreecommitdiff
path: root/mateweather
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-02-05 00:05:23 +0100
committerinfirit <[email protected]>2014-02-05 00:05:23 +0100
commit2176a84cfbc158f21a92c8c2d1c26922c217e0df (patch)
tree90a65ccceeb8eb5d5efd81bb9600ba7e4213556b /mateweather
parente07db99e4ab834f562bd1d1234a5827ae5ef4747 (diff)
downloadmate-applets-2176a84cfbc158f21a92c8c2d1c26922c217e0df.tar.bz2
mate-applets-2176a84cfbc158f21a92c8c2d1c26922c217e0df.tar.xz
Remove all calls gtk_dialog_set_has_separator
Also remove the has_separator from the ui files.
Diffstat (limited to 'mateweather')
-rw-r--r--mateweather/mateweather-dialog.c3
-rw-r--r--mateweather/mateweather-pref.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/mateweather/mateweather-dialog.c b/mateweather/mateweather-dialog.c
index 7ea07e17..af71d319 100644
--- a/mateweather/mateweather-dialog.c
+++ b/mateweather/mateweather-dialog.c
@@ -187,9 +187,6 @@ static void mateweather_dialog_create(MateWeatherDialog* dialog)
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE);
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
-#endif
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 2);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
diff --git a/mateweather/mateweather-pref.c b/mateweather/mateweather-pref.c
index 40aabd74..2fb8a116 100644
--- a/mateweather/mateweather-pref.c
+++ b/mateweather/mateweather-pref.c
@@ -824,9 +824,6 @@ static void mateweather_pref_create(MateWeatherPref* pref)
gtk_window_set_title (GTK_WINDOW (pref), _("Weather Preferences"));
gtk_dialog_add_buttons (GTK_DIALOG (pref), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, GTK_STOCK_HELP, GTK_RESPONSE_HELP, NULL);
gtk_dialog_set_default_response (GTK_DIALOG (pref), GTK_RESPONSE_CLOSE);
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gtk_dialog_set_has_separator (GTK_DIALOG (pref), FALSE);
-#endif
gtk_container_set_border_width (GTK_CONTAINER (pref), 5);
gtk_window_set_resizable (GTK_WINDOW (pref), TRUE);
gtk_window_set_screen (GTK_WINDOW (pref), gtk_widget_get_screen (GTK_WIDGET (pref->priv->applet->applet)));