summaryrefslogtreecommitdiff
path: root/battstat
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 /battstat
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 'battstat')
-rw-r--r--battstat/battstat_applet.c7
-rw-r--r--battstat/battstat_applet.ui1
-rw-r--r--battstat/properties.c4
3 files changed, 0 insertions, 12 deletions
diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c
index 52cc9f3c..5a8f58f9 100644
--- a/battstat/battstat_applet.c
+++ b/battstat/battstat_applet.c
@@ -524,9 +524,6 @@ battery_full_dialog (GtkWidget *applet)
#endif
gtk_container_set_border_width (GTK_CONTAINER (dialog), 6);
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
-#endif
hbox = gtk_hbox_new (FALSE, 6);
pixbuf = gtk_icon_theme_load_icon (
gtk_icon_theme_get_default (),
@@ -691,10 +688,6 @@ battery_low_dialog( ProgressData *battery, BatteryStatus *info )
gtk_container_set_border_width (GTK_CONTAINER (battery->battery_low_dialog),
6);
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gtk_dialog_set_has_separator (GTK_DIALOG (battery->battery_low_dialog),
- FALSE);
-#endif
hbox = gtk_hbox_new (FALSE, 6);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 6);
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
diff --git a/battstat/battstat_applet.ui b/battstat/battstat_applet.ui
index 77d21a8a..af5e9a87 100644
--- a/battstat/battstat_applet.ui
+++ b/battstat/battstat_applet.ui
@@ -13,7 +13,6 @@
<property name="border_width">5</property>
<property name="title" translatable="yes">Battery Charge Monitor Preferences</property>
<property name="type_hint">dialog</property>
- <property name="has_separator">False</property>
<child internal-child="vbox">
<object class="GtkVBox" id="dialog_vbox">
<property name="visible">True</property>
diff --git a/battstat/properties.c b/battstat/properties.c
index 634290ce..f84eea78 100644
--- a/battstat/properties.c
+++ b/battstat/properties.c
@@ -411,10 +411,6 @@ prop_cb (GtkAction *action,
gtk_dialog_set_default_response (GTK_DIALOG (battstat->prop_win),
GTK_RESPONSE_CLOSE);
gtk_window_set_resizable (GTK_WINDOW (battstat->prop_win), FALSE);
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gtk_dialog_set_has_separator (GTK_DIALOG (battstat->prop_win), FALSE);
-#endif
-
g_signal_connect (G_OBJECT (battstat->prop_win), "response",
G_CALLBACK (response_cb), battstat);
gtk_widget_show_all (GTK_WIDGET (battstat->prop_win));