Re: examples/list.c



Don't use GtkList or GtkTree. They've been deprecated for... I dunno... 7 or 8 years now, and are unmaintained. You should be using GtkTreeView in conjunction with a GtkTreeStore or GtkListStore.

        -brian

Dave Luttinen wrote:
2nd post. I'm just getting warmed up <g>. Compile with supplied Makefile to gtk+/gtk+-2.14.6/examples/list.c, run sample application, right click on list, the following is printed: (list:17088): Gtk-CRITICAL **: gtk_list_add: assertion `GTK_IS_LIST_ITEM (widget)' failed (list:17088): Gtk-CRITICAL **: gtk_widget_get_parent_window: assertion `GTK_IS_WIDGET (widget)' failed (list:17088): Gdk-CRITICAL **: gdk_window_get_children: assertion `GDK_IS_WINDOW (window)' failed (list:17088): Gtk-CRITICAL **: gtk_widget_get_parent_window: assertion `GTK_IS_WIDGET (widget)' failed ** ** Gtk:ERROR:(/build/buildd/gtk+2.0-2.12.9/gtk/gtkwidget.c:4810):gtk_widget_reparent_fixup_child: assertion failed: (client_data != NULL) Aborted I have placed these gtk examples in my home folder "my-projects" and they compile without complaint. Is this a linking issue? What is occurring? Dave _______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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