summaryrefslogtreecommitdiff
path: root/panels/info
diff options
context:
space:
mode:
authorRui Matos <tiagomatos@gmail.com>2013-09-17 14:33:09 +0200
committerBastien Nocera <hadess@hadess.net>2013-10-01 10:05:02 +0200
commitae198328262746786fa12f44a98da288df6b6078 (patch)
tree1f7f6be919d71935563282bc0a20058484e88e49 /panels/info
parent416de8af2ba6e59e57281de25e382f58e36c7deb (diff)
downloadgnome-control-center-ae198328262746786fa12f44a98da288df6b6078.tar.gz
info: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
Diffstat (limited to 'panels/info')
-rw-r--r--panels/info/cc-info-panel.c2
-rw-r--r--panels/info/info.ui5
2 files changed, 1 insertions, 6 deletions
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 04112e0b2..247f41cd0 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -1568,7 +1568,7 @@ info_panel_setup_overview (CcInfoPanel *self)
gtk_label_set_markup (GTK_LABEL (widget), self->priv->graphics_data->hardware_string);
widget = WID ("info_vbox");
- gtk_widget_reparent (widget, (GtkWidget *) self);
+ gtk_container_add (GTK_CONTAINER (self), widget);
refresh_update_button (self);
}
diff --git a/panels/info/info.ui b/panels/info/info.ui
index c7b193a64..dcc9b938b 100644
--- a/panels/info/info.ui
+++ b/panels/info/info.ui
@@ -175,9 +175,6 @@
<action-widget response="0">button1</action-widget>
</action-widgets>
</object>
- <object class="GtkWindow" id="window1">
- <property name="can_focus">False</property>
- <child>
<object class="GtkBox" id="info_vbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1193,6 +1190,4 @@
</packing>
</child>
</object>
- </child>
- </object>
</interface>