[gnome-color-manager: 3/18] Remove two runtime warnings for a widget than no longer exists
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager: 3/18] Remove two runtime warnings for a widget than no longer exists
- Date: Fri, 8 Oct 2010 16:08:25 +0000 (UTC)
commit 76b28e7785af3cca64c9e4d5e2a38ebd3297e43a
Author: Richard Hughes <richard hughsie com>
Date: Fri Oct 8 11:13:54 2010 +0100
Remove two runtime warnings for a widget than no longer exists
src/cc-color-panel.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/cc-color-panel.c b/src/cc-color-panel.c
index 39bad9e..fdcc3c5 100644
--- a/src/cc-color-panel.c
+++ b/src/cc-color-panel.c
@@ -1673,8 +1673,6 @@ cc_color_panel_devices_treeview_clicked_cb (GtkTreeSelection *selection, CcColor
gtk_widget_set_sensitive (widget, TRUE);
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "button_reset"));
gtk_widget_set_sensitive (widget, TRUE);
- widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "label_profile"));
- gtk_widget_set_sensitive (widget, TRUE);
/* can we delete this device? */
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "button_delete"));
@@ -2774,8 +2772,6 @@ cc_color_panel_init (CcColorPanel *panel)
/* hide widgets by default */
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "vbox_device_details"));
gtk_widget_hide (widget);
- widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "label_profile"));
- gtk_widget_set_sensitive (widget, FALSE);
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "hbox_manufacturer"));
gtk_widget_hide (widget);
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "hbox_model"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]