Re: problem with lookup_widget function



ztoon wrote:

hi
This function doesn't to compile in an application i'm doing

I have this code :

GtkWidget *w = lookup_widget(GTK_WIDGET(MainWindow), "MainWin");


error message is :

source.c:58: warning: implicit declaration of function `lookup_widget'
source.c:58: warning: initialization makes pointer from integer without a cast

How to make work lookup ??
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list


This function is generated by the 'glade' utility when you generate your code. You should include 'support.h' in your file and add 'support.c' in your makefile.

Pascal




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