diff options
Diffstat (limited to 'battstat')
-rw-r--r-- | battstat/battstat_applet.c | 7 | ||||
-rw-r--r-- | battstat/battstat_applet.ui | 1 | ||||
-rw-r--r-- | battstat/properties.c | 4 |
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)); |