Re: [gtk-osx-users] Sorting in GtkFileChooser is broken

Hi John,

I just tried to build everything again using 


in my .jhbuildrc-custom file but the line

jhbuild build meta-gtk-osx-core

fails when building gobject-introspection:

ld: warning: directory not found for option '-L/Users/steffen/gtk/inst/lib/x86-64'
Undefined symbols for architecture x86_64:
  "_ffi_closure_alloc", referenced from:
      _g_callable_info_prepare_closure in libgirepository_1_0_la-girffi.o
  "_ffi_closure_free", referenced from:
      _g_callable_info_prepare_closure in libgirepository_1_0_la-girffi.o
      _g_callable_info_free_closure in libgirepository_1_0_la-girffi.o
  "_ffi_prep_closure_loc", referenced from:
      _g_callable_info_prepare_closure in libgirepository_1_0_la-girffi.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Error during phase build of gobject-introspection: ########## Error running make   *** [20/26]

At this point I am willing to leave the sorting problem alone since it is not a major bug.  Maybe a next 
version will have it fixed (I also tried rebuilding everything again from scratch with the stable module sets 
but the sorting problem persisted).


----- Original Message -----
From: John Ralls <jralls ceridwen us>
To: Steffen Gutmann <muibase yahoo com>
Cc: "gtk-osx-users-list gnome org" <gtk-osx-users-list gnome org>
Sent: Saturday, March 2, 2013 12:40 PM
Subject: Re: [gtk-osx-users] Sorting in GtkFileChooser is broken

On Mar 2, 2013, at 12:33 PM, Steffen Gutmann <muibase yahoo com> wrote:

 Hi John,

 I just rebuilt unstable master (Gtk3) and the sorting problem has gone 
away, so 

 I guess it's been fixed. Since my Gtk2 test was also with the 
gtk-2-24 HEAD 
 a couple of days ago, I suspect that that's why it worked OK for me 
and not 

 I looked a bit deeper into this and in gtkfilechooserdefault.c I replaced

 g_value_take_string (value, g_utf8_collate_key_for_filename 
(g_file_info_get_display_name (info), -1));


         g_value_take_string (value, g_utf8_collate_key 
(g_file_info_get_display_name (info), -1));

 However, this also does not give a correct sorting of filenames.

 Might the problem be in glib maybe?

 I am using the stable gtkosx codeset with gtk+-2.24.13  and glib-2.34.1.

Try an unstable gtk2 and see if it works there. You shouldn't be working 
bugs on tarballs, only on git HEADs.

If it's still broken, then make a little test program with just those code 
snippets sorts the list correctly.

John Ralls

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