After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644182 - Unhandled tag CRITICAL error while building interface
Unhandled tag CRITICAL error while building interface
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: shell
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-08 09:47 UTC by Sebastián Ramírez Magrí
Modified: 2011-03-11 00:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastián Ramírez Magrí 2011-03-08 09:47:23 UTC
Running the control center raises the following errors:

~> gnome-control-center

** (gnome-control-center:24705): CRITICAL **: Could not build interface: Unhandled tag: 'style'

(gnome-control-center:24705): Gtk-CRITICAL **: gtk_window_set_application: assertion `GTK_IS_WINDOW (window)' failed

(gnome-control-center:24705): Gtk-CRITICAL **: gtk_bin_get_child: assertion `GTK_IS_BIN (bin)' failed

(gnome-control-center:24705): Gtk-CRITICAL **: gtk_widget_show_all: assertion `GTK_IS_WIDGET (widget)' failed

(gnome-control-center:24705): Gtk-CRITICAL **: gtk_window_present_with_time: assertion `GTK_IS_WINDOW (window)' failed

It seems to refer to the style tag used in shell/shell.ui. Dropping the tag solves the error.

Simple patch:

diff --git a/shell/shell.ui b/shell/shell.ui
index d6c19f3..b1c79d9 100644
--- a/shell/shell.ui
+++ b/shell/shell.ui
@@ -13,9 +13,6 @@
         <child>
           <object class="GtkToolbar" id="toolbar1">
             <property name="visible">True</property>
-            <style>
-              <class name="primary-toolbar"/>
-            </style>
             <child>
               <object class="GtkToolItem" id="toolbutton1">
                 <property name="visible">True</property>
Comment 1 Matthias Clasen 2011-03-08 23:41:37 UTC
You need gtk 3.0.2