problem with lookup_widget function

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 ??

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