On Fri, Oct 25, 2013 at 3:47 AM, Tristian Celestin <tristian.celes...@outlook.com> wrote: > I created a composite widget template with Glade, and now I am binding all > the children in the composite widget template to private data members in my > class. When I bind one particular member, box1, I get a segfault in > gtk_widget_is_toplevel (widget=0x837b60) at gtkwidget.c:8474. > > If I don't bind box1, the application starts. Why would binding this child > cause a segfault even though it is GtkWidget, defined in channel_list.ui?
This looks like a good reason to crash: struct _HRChannelList { /*< private >*/ GtkContainer container; /* <-- oops ! not big enough for a GtkBox ... */ HRChannelListPrivate *priv; }; struct _HRChannelListClass { GtkBoxClass parent_class; }; Cheers, -Tristan _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list