Re: problem with lookup_widget function

ztoon wrote:

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

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.


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