Re: GtkWarning: gtk_button_box_set_child_secondary: assertion `child->parent == GTK_WIDGET (widget)' failed



You use the same id for several buttons (help, close, ok). Each id
should be unique in the file.

Le dimanche 26 juillet 2009 à 08:13 -0400, Gerald Britton a écrit :
>  I attached the glade file
> 
> On Sun, Jul 26, 2009 at 8:10 AM, Jean Bréfort
> <jean brefort normalesup org> wrote:
>         The child might already have a parent in the ui file (just
>         guessing).
>         Can't tell more without knowning the context and the ui
>         (glade) file.
>         
>         Le dimanche 26 juillet 2009 à 07:59 -0400, Gerald Britton a
>         écrit :
>         
>         > Sorry, I'm a user not a dev.  I'll need pretty detailed
>         instructions
>         > with examples to find it this way.  Is there anyone out
>         there who can
>         > say what conditions trigger this message?
>         >
>         > On Thu, Jul 23, 2009 at 2:33 PM, Paul Davis
>         > <paul linuxaudiosystems com> wrote:
>         >         On Thu, Jul 23, 2009 at 12:15 PM, Gerald
>         >         Britton<gerald britton gmail com> wrote:
>         >         > Reposting.  Still hoping for an answer!
>         >         >
>         >         > On Fri, Jun 26, 2009 at 9:11 AM, Gerald
>         >         Britton<gerald britton gmail com> wrote:
>         >         >> HI -- I'm getting errors like this from one of my
>         glade
>         >         files (Gtk.Builder):
>         >         >>
>         >         >> GtkWarning: gtk_button_box_set_child_secondary:
>         assertion
>         >         >> `child->parent == GTK_WIDGET (widget)' failed
>         >         >>    self.add_from_file(path)
>         >         >>
>         >         >>
>         >         >> I'm having trouble finding which widget in the
>         file (there
>         >         are many)
>         >         >> that is causing this error.  I'm need to know a
>         few
>         >          things:
>         >
>         >
>         >         use a debugger. put a break point in g_logv. then
>         use
>         >         backtrace when you hit it.
>         >
>         >
>         >
>         > --
>         > Gerald Britton
>         
>         
>         > _______________________________________________
>         > gtk-list mailing list
>         > gtk-list gnome org
>         > http://mail.gnome.org/mailman/listinfo/gtk-list
>         
>         
> 
> 
> 
> -- 
> Gerald Britton



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]