GLib 2.28.3

2011-03-17 Thread Matthias Clasen
GLib 2.28.3 is now available for download at:

  ftp://ftp.gtk.org/pub/glib/2.28/
  http://download.gnome.org/sources/glib/2.28/

7e1ab62d0f0cdc3f0ce8214b77d104b3abbd51185a9f3fc9b6a504cce26f6fab
glib-2.28.3.tar.bz2
72d4773bfe2f73adb7ebbb1df9341206e95a6bd4e17a68cefea1c8a524a5bf2c
glib-2.28.3.tar.gz

This is a bug fix release in the stable 2.28 series.


Overview of Changes from GLib 2.28.2 to 2.28.3
==

* Fix build with linux  2.6.19

* Bugs fixed:
 644465 undefined reference to `_usleep'
 644552 g_timeout_add_seconds(1, ...) may have a latency...
 644607 Correct internal definition of C_()

* Translation updates:
 French
 Hungarian
 Portuguese

Thanks to the contributors:
Martin Nordholts
Tor Lillqvist
Emilio Pozuelo Monfort
Owen Taylor


March 14, 2011
Matthias Clasen


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


gtk_tree_view_column query.

2011-03-17 Thread James Tappin
Hello,
  I'm working on some aspects of gtk-fortran (an interface of GTK+ to
Fortran95/2003), and so need to implement things without using varargs
routines. However I'm getting unexpected behaviours. I don't think the
problem is in the Fortran interface as I can reproduce the errors in
C-examples.

The first is in setting up the column attributes, the original C code was:

  column = gtk_tree_view_column_new_with_attributes(#, renderer,
  text, 0, NULL);

Which if I interpret the manual correctly ought to be replaceable by:
column = gtk_tree_view_column_new();
gtk_tree_view_column_set_title(column, #);
gtk_tree_view_column_add_attribute(column, renderer, 
  text, 0);

But the latter gives an assertion error:
(list1:6044): Gtk-CRITICAL **:
gtk_tree_view_column_cell_layout_add_attribute: assertion `info !=
NULL' failed


The second comes when trying to add a value to a column, the original was:
gtk_list_store_set(store,iter, 0, nrow, -1); /* The index column */

Which (again if I'm interpreting the manual right) should be equivalent to:
gtk_list_store_set_value(store, iter, 0, (Gvalue *) nrow);

but instead the latter gives a segfault
0x755effc9 in type_check_is_value_type_U (value=0x7fffdcac)
at /build/buildd/glib2.0-2.26.1/gobject/gtype.c:4073


Does anybody see a grave error in interpreting the manual or is there
a real problem with some of these routines?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: gtk_tree_view_column query.

2011-03-17 Thread James Tappin
On 17 March 2011 15:55, James Tappin jtap...@gmail.com wrote:
 Hello,
  I'm working on some aspects of gtk-fortran (an interface of GTK+ to
 Fortran95/2003), and so need to implement things without using varargs
 routines. However I'm getting unexpected behaviours. I don't think the
 problem is in the Fortran interface as I can reproduce the errors in
 C-examples.

I should have added: I'm running 64-bit Linux and using gcc
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list