[gnome-panel] panel-properties-dialog: color_label was removed



commit b2712a7907cb2d894ddff9f9950ac734c81df0b8
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed Dec 23 03:33:13 2015 +0200

    panel-properties-dialog: color_label was removed

 gnome-panel/panel-properties-dialog.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gnome-panel/panel-properties-dialog.c b/gnome-panel/panel-properties-dialog.c
index b9f475a..15132b7 100644
--- a/gnome-panel/panel-properties-dialog.c
+++ b/gnome-panel/panel-properties-dialog.c
@@ -468,12 +468,8 @@ static void
 panel_properties_dialog_color_button_setup (PanelPropertiesDialog *dialog,
                                            GtkBuilder            *gui)
 {
-       GtkWidget *color_label;
-
        dialog->color_button = PANEL_GTK_BUILDER_GET (gui, "color_button");
        g_return_if_fail (dialog->color_button != NULL);
-       color_label = PANEL_GTK_BUILDER_GET (gui, "color_label");
-       g_return_if_fail (color_label != NULL);
 
        panel_properties_dialog_background_color_update (dialog);
 
@@ -483,9 +479,6 @@ panel_properties_dialog_color_button_setup (PanelPropertiesDialog *dialog,
 
        g_settings_bind_writable (dialog->settings_background,
                                  PANEL_BACKGROUND_COLOR_KEY,
-                                 color_label, "sensitive", FALSE);
-       g_settings_bind_writable (dialog->settings_background,
-                                 PANEL_BACKGROUND_COLOR_KEY,
                                  dialog->color_button, "sensitive", FALSE);
 
        if (!g_settings_is_writable (dialog->settings_background,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]