Hi, I've compiled the example GtkMenuFactory of the tutorial GTK 1.2, and I've obtain two errors, I want to know if anybody can help me.
-------------------------------------------------------------------- menufactory.c: In function `get_main_menu': menufactory.c:49: warning: implicit declaration of function `gtk_window_add_accelerator_table' /tmp/cc9OOlUT.o: In function `get_main_menu': /home/ana/menus/menufactory.c:49: undefined reference to `gtk_window_add_accelerator_table' collect2: ld returned 1 exit status make: *** [menufactory] Error 1 ---------------------------------------------------------------- and if I erase the instruction of the line 49 //gtk_window_add_accelerator_table(GTK_WINDOW(window), subfactory->table); //subfactory->table I can execute the program but the first message I've obtain is: Gtk-WARNING **: gtk_menu_factory_new(): GtkMenuFactory is deprecated and will shortly vanish Gtk-WARNING **: gtk_menu_factory_new(): GtkMenuFactory is deprecated and will shortly vanish And after that, the program goes well. Any suggestions? thanks in advance, ana. _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list