Newbie Question: gnome_init() fails



Hello:

After having written my first mini-applications with gtk+, I wanted to
start to use the gnome libraries. I compiled the gnome-hello-0 demo
without error messages. If I run the program, however, the call

  gnome_init ("gnome-hello-0-basic", NULL, argc, argv,
	      0, NULL);

results in the following messages:

** WARNING **: invalid cast from `GnomeClient' to `GtkWindowType'

** WARNING **: invalid cast from `GnomeClient' to `GtkWindowType'

** WARNING **: gtk_type_create(): unknown parent type `12'.

** ERROR **: file gnometypes.c: line 30 (gnome_type_init): "type_id != GTK_TYPE_INVALID"

Then the Program terminates. Does anyone know what I'm doing wrong?

  Oliver



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