[Glade-users] Newbe problem with tutorial example
Tristan Van Berkom
tristan.van.berkom at gmail.com
Mon Feb 15 16:06:43 EST 2010
Errr, where did you get the tutorial and why does it still say to use
gtk-builder-convert ?
If you show us the code I'm sure we can point out whats going wrong, my instinct
already tells me that your tutorial code reffers to a widget by name that is not
present in the interface xml.
Cheers,
-Tristan
On Mon, Feb 15, 2010 at 3:08 PM, Gerald I. Evenden
<geraldi.evenden at gmail.com> wrote:
> I am a glade3 newbe working on Kubuntu 8.4 64bit.
>
> For testing I am trying the tutorial and have performed the steps in the
> main.c file to generate 'tutorial':
>
> /*
> First run tutorial.glade through gtk-builder-convert with this command:
> gtk-builder-convert tutorial.glade tutorial.xml
>
> Then save this file as main.c and compile it using this command
> (those are backticks, not single quotes):
> gcc -Wall -g -o tutorial main.c `pkg-config --cflags --libs
> gtk+-2.0` -export-dynamic
>
> Then execute it using:
> ./tutorial
> */
>
>
> Next, when executing:
>
> ./tutorial
>
> (tutorial:2112): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET
> (widget)' failed
>
> which must be followed by <cntrl>C to exit.
>
> Any hint or suggestion would be greatly appreciated.
>
> Thank-you.
> --
> The whole religious complexion of the modern world is due
> to the absence from Jerusalem of a lunatic asylum.
> -- Havelock Ellis (1859-1939) British psychologist
> _______________________________________________
> Glade-users maillist - Glade-users at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-users
>
More information about the Glade-users
mailing list