The source compiles fine and the application runs, but instead of displaying the PNG file, it only shows a black square with no apparent content.

Please help me, what am I missing or doing wrong?

You are running the program within an loop that does not process GTK events.
You need to add a call like gtk_main_iteration_do() within your while loop.

Regards,
Miroslav
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to