Re: [gtk-list] Help with Panel applets



Matt McNichols <MMcNichols@LowellGeneral.org> writes:
>         GtkWidget* box1 = gtk_hbox_new(FALSE,0);
>         GtkWidget* applet = applet_widget_new(PACKAGE);
> 
>         applet_widget_add(APPLET_WIDGET(applet), box1);
> 
>         gtk_widget_show (applet);
> 
>         applet_widget_init(PACKAGE, VERSION, argc, argv, NULL, 0, NULL);
> 

You have to do the init before you can use any GTK or GNOME functions.
Some necessary hash table isn't being initialized before you try to
use it.

BTW, GNOME questions are best sent to gnome-devel-list@gnome.org
rather than gtk-list.

Havoc



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