[gnome-control-center] privacy: Remove unused toplevel window from .ui file
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] privacy: Remove unused toplevel window from .ui file
- Date: Tue, 1 Oct 2013 08:07:37 +0000 (UTC)
commit d9196b80d132b74eb9795406ea8952d9a5f7b1fc
Author: Rui Matos <tiagomatos gmail com>
Date: Tue Sep 17 17:19:51 2013 +0200
privacy: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
panels/privacy/cc-privacy-panel.c | 2 +-
panels/privacy/privacy.ui | 5 -----
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/panels/privacy/cc-privacy-panel.c b/panels/privacy/cc-privacy-panel.c
index 66b8ab9..20fb865 100644
--- a/panels/privacy/cc-privacy-panel.c
+++ b/panels/privacy/cc-privacy-panel.c
@@ -689,7 +689,7 @@ cc_privacy_panel_init (CcPrivacyPanel *self)
update_lock_screen_sensitivity (self);
widget = WID ("privacy_vbox");
- gtk_widget_reparent (widget, (GtkWidget *) self);
+ gtk_container_add (GTK_CONTAINER (self), widget);
}
static void
diff --git a/panels/privacy/privacy.ui b/panels/privacy/privacy.ui
index 66ff8df..de016eb 100644
--- a/panels/privacy/privacy.ui
+++ b/panels/privacy/privacy.ui
@@ -668,9 +668,6 @@
<action-widget response="0">trash_done</action-widget>
</action-widgets>
</object>
- <object class="GtkWindow" id="window1">
- <property name="can_focus">False</property>
- <child>
<object class="GtkBox" id="privacy_vbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -692,6 +689,4 @@
</packing>
</child>
</object>
- </child>
- </object>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]