#72 glade fails to work with gtknotebook

closed-wont-fix
nobody
None
5
2007-06-15
2006-11-25
Anonymous
No

To reproduce create a file in glade that contains a gtknotebook. Run ruby-glade-create-template on the file.

When I run ruby-glade-create-template I get:
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED (boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED (boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
/usr/bin/ruby-glade-create-template: line 36
Gtk-CRITICAL **:gtk_notebook_set_tab_label: assertion `GTK_IS_WIDGET (child)' failed
/usr/bin/ruby-glade-create-template: line 36
Gtk-CRITICAL **:gtk_notebook_set_tab_label: assertion `GTK_IS_WIDGET (child)' failed
/usr/bin/ruby-glade-create-template: line 36
Gtk-CRITICAL **:gtk_notebook_set_tab_label: assertion `GTK_IS_WIDGET (child)' failed

When I run the file I get this:
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED (boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED (boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
file2.rb: line 5
Gtk-CRITICAL **:gtk_notebook_set_tab_label: assertion `GTK_IS_WIDGET (child)' failed
file2.rb: line 5
Gtk-CRITICAL **:gtk_notebook_set_tab_label: assertion `GTK_IS_WIDGET (child)' failed
file2.rb: line 5
Gtk-CRITICAL **:gtk_notebook_set_tab_label: assertion `GTK_IS_WIDGET (child)' failed

Ubuntu Linux Edgy Eft

Discussion

  • Nobody/Anonymous

    The Glade File

     
  • Nobody/Anonymous

    Logged In: NO

    I Compiled from CVS and eliminated all of the errors except:
    Gtk-CRITICAL **:gtk_notebook_set_tab_label: assertion `GTK_IS_WIDGET (child)' failed
    file2.rb: line 5
    Gtk-CRITICAL **:gtk_notebook_set_tab_label: assertion `GTK_IS_WIDGET (child)' failed
    file2.rb: line 5
    Gtk-CRITICAL **:gtk_notebook_set_tab_label: assertion `GTK_IS_WIDGET (child)' failed

     
  • Masao Mutoh

    Masao Mutoh - 2007-06-15
    • status: open --> closed-wont-fix
     
  • Masao Mutoh

    Masao Mutoh - 2007-06-15

    Logged In: YES
    user_id=495147
    Originator: NO

    This occurs C libglade program, too.
    We can't avoid this from Ruby side.

    BTW, if you add a widget such as a Gtk::VBox or Gtk::Button to the body of Gtk::Notebook, the error won't be shown. I think this is the best way as a workaround.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks