Package: libgtk2-perl
Version: 1:1.140-1
Severity: normal

Hello,

I have discovered that convert_child_iter_to_iter method in Gtk2::TreeModelSort class is not doing what it should. Instead of converting a child_iter to iter, it does the opposite.

After having found no call to the gtk_tree_model_sort_convert_child_iter_to_iter function in auto/Gtk2/Gtk2.so binary file, I went through the xs/GtkTreeModelSort.xs source file and I think
it's just a copy & paste problem on line 91.

In the sample code below, it's the line below CODE: which should be changed to
gtk_tree_model_sort_convert_child_iter_to_iter (tree_model_sort,


GtkTreeIter_copy *
gtk_tree_model_sort_convert_child_iter_to_iter (tree_model_sort, child_iter)
GtkTreeModelSort *tree_model_sort
GtkTreeIter *child_iter
PREINIT:
GtkTreeIter sort_iter;
CODE:
gtk_tree_model_sort_convert_iter_to_child_iter (tree_model_sort,
&sort_iter,
child_iter);
RETVAL = &sort_iter;
OUTPUT:
RETVAL

Thank you for your correction if I am correct :).

Adrian

-- System Information:
Debian Release: 4.0
 APT prefers unstable
 APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18_3
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libgtk2-perl depends on:
ii  libatk1.0-0                 1.12.4-1     The ATK accessibility toolkit
ii  libc6                       2.3.6.ds1-11 GNU C Library: Shared libraries
ii libcairo-perl 1.01-1 Perl interface to the Cairo graphi ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra ii libfontconfig1 2.4.2-1 generic font configuration library ii libglib-perl 1:1.140-1 Perl interface to the GLib and GOb
ii  libglib2.0-0                2.12.6-2     The GLib library of C routines
ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface ii libpango1.0-0 1.14.8-5 Layout and rendering of internatio
ii  libx11-6                    2:1.0.3-5    X11 client-side library
ii  libxcursor1                 1.1.7-4      X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio
ii  libxi6                      1:1.0.1-4    X11 Input extension library
ii  libxinerama1                1:1.0.1-4.1  X11 Xinerama extension library
ii  libxrandr2                  2:1.1.0.2-5  X11 RandR extension library
ii libxrender1 1:0.9.1-3 X Rendering Extension client libra ii perl 5.8.8-7 Larry Wall's Practical Extraction ii perl-base [perlapi-5.8.8] 5.8.8-7 The Pathologically Eclectic Rubbis

libgtk2-perl recommends no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to