[Glade-users] Newbe problem with tutorial example



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




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