[Glade-users] lookup_widget oddness
- From: harringf yahoo com (Harring Figueiredo)
- Subject: [Glade-users] lookup_widget oddness
- Date: Mon, 27 Jan 2003 20:25:33 -0800 (PST)
--- Neil Hodge <neh attbi com> wrote:
All:
I have just started porting my app to gtk2 using glade2. Using the
following code:
GtkWidget *tree;
tree = lookup_widget(mainwindow, "pctv");
I keep getting the following warning:
warning: assignment makes pointer from integer without a cast
Any ideas? Thanks.
You mainwindow is probably a GtkWindow* or something else other than a
GtkWidget*. Try casting it to a GtkWidget*
tree = lookup_widget( GTK_WIDGET(mainwindow), "pctv");
Harring.
_______________________________________________
Glade-users maillist - Glade-users lists ximian com
http://lists.ximian.com/mailman/listinfo/glade-users
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]