|
回应:
--------------------------------------------------------------------------------
g++ -Wall -O1 -g -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c support.c -o support.o
support.c: In function `GtkWidget* lookup_widget(GtkWidget*, const gchar*)':
support.c:32: invalid conversion from `void*' to `GtkWidget*'
make: *** [support.o] Error 1
--------------------------------------------------------------------------------
这个错误的语句是 parent = g_object_get_data (G_OBJECT (widget), "GladeParentKey");
为什么??? |
|