Destroying an object that uses GCancellable

2010-06-17 Thread Nader Morshed
Hi, I'm having some difficulties with figuring out how to properly structure an object of mine; the object takes in a GSocketConnection and generates in/output streams and starts a read_line loop. However, when I go to destroy the object, calling g_cancellable_cancel within either the finalize o

GTK+ 2.90.3 released

2010-06-17 Thread Matthias Clasen
GTK+ 2.90.3 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.90/ http://download.gnome.org/sources/gtk+/2.90/ c5a556355342446eee5394680aae92e286509db04bf3230c625151d6f6530ee0 gtk +-2.90.3.tar.bz2 d41349091e9e46cd19afa739cce59f3d0c543201db1ebe1f32aa0ace2715d3c9 gtk +-2.90.3.tar.g

GLib 2.25.9 released

2010-06-17 Thread Matthias Clasen
GLib 2.25.9 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.25/ http://download.gnome.org/sources/glib/2.25/ e1bef7e7b669e51b8117a3d60a22c86d68eb6cfaf178f9d008f0cc79e1ca436e glib-2.25.9.tar.bz2 5d98046edac2a0ec5f12b4a4c87f7b74fcd05a5de7b17e1d93d1514e6bb16bfd glib-2.25.9.tar.gz

ARGB_VISUALS

2010-06-17 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I work on gnome-mplayer and it appears that a recent change in Ubuntu to enable ARGB_VISUALS is breaking my application. There is a environment variable that corrects it LIB_SKIP_ARGB_VISUALS=1 However, I am looking for a way in my application that I

Re: how to tell if a widget is still "alive" ?

2010-06-17 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/2010 03:38 PM, David Nečas wrote: > On Thu, Jun 17, 2010 at 09:07:46AM +0800, Gregory Hosler wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hi all, >> >> I have an application where I'm making use of animated gifs on a >> Gt

Re: Catching client events

2010-06-17 Thread Matthew Allen
So instead of using a GdkNativeWindow to send to (which doesn't gel with client side windows anyway) I thought I'd go looking for someway of sending a GdkEvent to a GtkWidget... and I found one! gtk_propagate_event does what I want but it's synchronous. I would like a asynchronous version, that

Re: how to tell if a widget is still "alive" ?

2010-06-17 Thread David Nečas
On Thu, Jun 17, 2010 at 09:07:46AM +0800, Gregory Hosler wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all, > > I have an application where I'm making use of animated gifs on a > GtkTextBuffer. > I set a timer (g_timeout_add()) to remove the animated character after a small > p