Bug#366302: libgtk2.0-dev: description of
gtk_list_store_insert_after
suggests that slibing can be null. However it doesn't work that way
Emil Nowak
emil5 at go2.pl
Sun May 7 04:32:22 UTC 2006
Package: libgtk2.0-dev
Version: 2.8.17-2
Severity: normal
Let's take the gtk_list_store_insert_after function. It is described in
documentation like this:
void gtk_list_store_insert_after(GtkListStore *list_store, GtkTreeIter *iter, GtkTreeIter *sibling);
Inserts a new row after sibling. If sibling is NULL, then the row will be prepended to the beginning of the list. iter will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call gtk_list_store_set() or gtk_list_store_set_value().
But when I pass null as a slibing I got this error:
Gtk-CRITICAL **: gtk_list_store_insert_after: assertion `VALID_ITER (sibling, list_store)' failed
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Versions of packages libgtk2.0-dev depends on:
ii libatk1.0-dev 1.11.4-1 Development files for the ATK acce
ii libcairo2-dev 1.0.4-1+b1 Development files for the Cairo 2D
ii libglib2.0-dev 2.10.2-1 Development files for the GLib lib
ii libgtk2.0-0 2.8.17-2 The GTK+ graphical user interface
ii libpango1.0-dev 1.12.1-2 Development files for the Pango
ii libx11-dev 2:1.0.0-3 X11 client-side library (developme
ii libxcursor-dev 1.1.5.2-2 X cursor management library (devel
ii libxext-dev 1:1.0.0-3 X11 miscellaneous extensions libra
ii libxfixes-dev 1:3.0.1.2-4 X11 miscellaneous 'fixes' extensio
ii libxi-dev 1:1.0.0-5 X11 Input extension library (devel
ii libxinerama-dev 1:1.0.1-2 X11 Xinerama extension library (de
ii libxrandr-dev 2:1.1.0.2-2 X11 RandR extension library (devel
ii pkg-config 0.20-1 manage compile and link flags for
libgtk2.0-dev recommends no packages.
-- no debconf information
More information about the Pkg-gnome-maintainers
mailing list