On Mon, 20 Mar 2017 18:10:16 +0100
Joël Krähemann <jkraehem...@gmail.com> wrote:

> Hi
> 
> As Tristan told you. The struct contains the other struct as not using
> a pointer.
> 
> struct MyCompositeWidget
> {
>   GtkAlignment alignment;
> 
>   GtkBox *box;
> };
> 
The parent-is-a-pointer mistake was just me not thinking when I wrote
the mail. If have seen it being done correctly everywhere. This makes
gtk_widget_set_name (myWidget->parent, "myWidget"); syntactically wrong
however.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to