Re: GTK 3 support status

2011-12-06 Thread Tristan Van Berkom
On Tue, Dec 6, 2011 at 1:15 AM, John Lindgren john.lindg...@aol.com wrote: Hi Tristan, This makes a bit more sense now. On 12/05/2011 09:27 AM, Tristan Van Berkom wrote: On Mon, Dec 5, 2011 at 11:18 PM, John Lindgrenjohn.lindg...@aol.com  wrote: It looks to me as though there are 3

Re: Displaying domain objects with GtkTreeView

2011-12-06 Thread Stefan Sauer
On 12/02/2011 03:55 PM, Rafał Krupiński wrote: 2011/12/1 David Nečas y...@physics.muni.cz: What are you talking about? You can pass any GObject-derived type as the column type (not that it matters much, the net result is the same as passing G_TYPE_OBJECT). You get back the objects that you

Re: error in compile gtk3 in OSX

2011-12-06 Thread Stefan Sauer
On 12/06/2011 02:47 AM, xiaobo wrote: Hi, All I got a error when I compile gtk3 in OSX . This is log. . . CCLD libgtk-3.la CC queryimmodules.o CCLD gtk-query-immodules-3.0 GISCAN Gtk-3.0.gir Usage: g-ir-scanner [options] sources g-ir-scanner: error: no

Re: string replace function

2011-12-06 Thread Stefan Sauer
On 12/06/2011 03:56 AM, Kevin Anthony wrote: I was thinking of making a g_strrpl and g_strnrpl The first one takes (gchar*,gchar*) and returns a gchar* in which the all instances of the second gchar* will be found and replaced in the first gchar*. replaced by what? g_strcannon can be used for

Re: GTK based media player in C

2011-12-06 Thread Stefan Sauer
On 09/19/2011 07:35 AM, Hitesh_Sharma wrote: Dear Team, I am looking for a sample code in C for GTK based media player.Kindly let me know from where I can get a sample code showig functionality of media player. super late reply, but anyway here is a gstreamer example that is a test app for

Re: error in compile gtk3 in OSX

2011-12-06 Thread xiaobo
在 2011-12-6 下午6:00 時, Stefan Sauer 寫到: On 12/06/2011 02:47 AM, xiaobo wrote: Hi, All I got a error when I compile gtk3 in OSX . This is log. . . CCLD libgtk-3.la CC queryimmodules.o CCLD gtk-query-immodules-3.0 GISCAN Gtk-3.0.gir Usage: g-ir-scanner

Re: GTK 3 support status

2011-12-06 Thread Andrew Cowie
On Tue, 2011-12-06 at 17:47 +0900, Tristan Van Berkom wrote: gtk_widget_set_size_request() should still succeed with the expected behaviour of setting the minimum size of a widget, So, does it do so for GtkLabel? ie, is it acceptable to call it? [this thread has become a bit confusing] AfC

Re: error in compile gtk3 in OSX

2011-12-06 Thread Stefan Sauer
On 12/06/2011 11:32 AM, xiaobo wrote: 在 2011-12-6 下午6:00 時, Stefan Sauer 寫到: On 12/06/2011 02:47 AM, xiaobo wrote: Hi, All I got a error when I compile gtk3 in OSX . This is log. . . CCLD libgtk-3.la CC queryimmodules.o CCLD gtk-query-immodules-3.0 GISCAN

mutex doubt

2011-12-06 Thread Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
Hello, Do I need to call g_thread_init() manually before calling g_mutex_new (), in a glib only application? Or is it auto called by default when I call g_type_init() and therefore I don't need to do it? Regards, Valle. Esta mensagem, incluindo seus eventuais anexos, pode conter

Re: mutex doubt

2011-12-06 Thread Emmanuele Bassi
hi; On 6 December 2011 18:14, Tristan Van Berkom t...@gnome.org wrote: Or, can glib programs which don't make use of GObject use threads at all ? sure. Must _those_ programs still call g_thread_init() before using threads ? before GLib 2.31, yes; after, no. It seems that the pthread