[gnome-power-manager] gtk3 api change: gtk_widget_hide_all replace by gtk_widget_hide
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] gtk3 api change: gtk_widget_hide_all replace by gtk_widget_hide
- Date: Mon, 25 Oct 2010 08:40:38 +0000 (UTC)
commit 1c68f6d0c6859ae61215de1648d7b5ccdbe224e7
Author: Alban Browaeys <prahal yahoo com>
Date: Thu Oct 21 14:12:14 2010 +0200
gtk3 api change: gtk_widget_hide_all replace by gtk_widget_hide
Signed-off-by: Richard Hughes <richard hughsie com>
src/cc-power-panel.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/cc-power-panel.c b/src/cc-power-panel.c
index 9413d5e..5e3f5e6 100644
--- a/src/cc-power-panel.c
+++ b/src/cc-power-panel.c
@@ -341,13 +341,13 @@ if(0) g_signal_connect (G_OBJECT (widget), "format-value",
if (panel->priv->has_button_lid == FALSE) {
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "hbox_ac_lid"));
- gtk_widget_hide_all (widget);
+ gtk_widget_hide (widget);
}
if (panel->priv->has_lcd == FALSE) {
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "hbox_ac_brightness"));
- gtk_widget_hide_all (widget);
+ gtk_widget_hide (widget);
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "checkbutton_ac_display_dim"));
- gtk_widget_hide_all (widget);
+ gtk_widget_hide (widget);
}
}
@@ -429,11 +429,11 @@ cc_power_panel_setup_battery (CcPowerPanel *panel)
if (panel->priv->has_button_lid == FALSE) {
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "hbox_battery_lid"));
- gtk_widget_hide_all (widget);
+ gtk_widget_hide (widget);
}
if (panel->priv->has_lcd == FALSE) {
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "checkbutton_battery_display_dim"));
- gtk_widget_hide_all (widget);
+ gtk_widget_hide (widget);
}
}
@@ -520,7 +520,7 @@ cc_power_panel_setup_general (CcPowerPanel *panel)
if (panel->priv->has_button_suspend == FALSE) {
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "hbox_general_suspend"));
- gtk_widget_hide_all (widget);
+ gtk_widget_hide (widget);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]