Re: string replace function

2011-12-16 Thread Richard Hughes
On 6 December 2011 02:53, Kevin Anthony wrote: > But what i would like to know, is if i write this, and include it in the > glib/gstrfuncs.c in a patch, would it be included. I've got a pretty efficient g_string_replace() function in zif if you're interested. Doing it with a GString rather than a

Re: Modernizing the display loop [try 2]

2011-12-16 Thread Havoc Pennington
it's possible something in here is useful: http://mail.gnome.org/archives/gtk-devel-list/2010-October/msg4.html Havoc ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GMenuModel has landed

2011-12-16 Thread tristan . van . berkom
On 2011-12-14, at 12:34 AM, Matthias Clasen wrote: > On Tue, Dec 13, 2011 at 12:21 AM, Tristan Van Berkom wrote: > >> GMenuModel in itself is a little stuck, it depends on GActions which >> are really tied into the whole DBus thing, so even though conceptually >> it might not be IO, actually it

PyGObject Presentation

2011-12-16 Thread Tal Liron
A recording of my recent talk about PyGObject, GObject, Vala and more at the Chicago Python group: https://www.youtube.com/watch?v=6QrGmA_RR4E Fun! The code is available here: https://github.com/tliron/pygobject-example -Tal __

PyGObject Presentation

2011-12-16 Thread Tal Liron
A recording of my recent talk about PyGObject, GObject, Vala and more at the Chicago Python group: https://github.com/tliron/pygobject-example Fun! The code is available here: https://github.com/tliron/pygobject-example -Tal ___

error: when cross compiling GObject Introspection

2011-12-16 Thread 胡武生
hello today i try to cross compile GObject Introspection for building gtk+3.0 on linux, but an error happened like this,so what can i do next? can you give me some advice,thanks. errors: root@tft-Lenovo:/usr/local/src/gobject-introspection-0.6.14/gir# make GISCAN GLib-2.0.gir Tra

string replace function

2011-12-16 Thread Kevin Anthony
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*. The second one is the same, but only replaces the first n instances. But what i would like to k