[gnome-control-center] region: Remove unused toplevel window from .ui file
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] region: Remove unused toplevel window from .ui file
- Date: Tue, 1 Oct 2013 08:07:42 +0000 (UTC)
commit 559161b4cbc1cbdec7c3b74ce9179d0e8d06a060
Author: Rui Matos <tiagomatos gmail com>
Date: Tue Sep 17 17:34:42 2013 +0200
region: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
panels/region/cc-region-panel.c | 2 +-
panels/region/region.ui | 6 ------
2 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c
index ef5355d..23044b4 100644
--- a/panels/region/cc-region-panel.c
+++ b/panels/region/cc-region-panel.c
@@ -1790,5 +1790,5 @@ cc_region_panel_init (CcRegionPanel *self)
setup_input_section (self);
priv->overlay = GTK_WIDGET (gtk_builder_get_object (priv->builder, "overlay"));
- gtk_widget_reparent (priv->overlay, GTK_WIDGET (self));
+ gtk_container_add (GTK_CONTAINER (self), priv->overlay);
}
diff --git a/panels/region/region.ui b/panels/region/region.ui
index a57931e..d254c95 100644
--- a/panels/region/region.ui
+++ b/panels/region/region.ui
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
- <object class="GtkWindow" id="window_region">
- <property name="can_focus">False</property>
- <property name="resizable">False</property>
- <child>
<object class="GtkOverlay" id="overlay">
<property name="visible">True</property>
<child>
@@ -382,6 +378,4 @@
</object>
</child>
</object>
- </child>
- </object>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]