getting button_press event for gtk_drawing_area (was: calling gdk_x11_drawable_get_xid() causes corruption...)

2009-12-13 Thread Eigo Mori
Hi, In short what I want is packing multiple gtk_drawing_area in a window and getting button press event from each drawing area. The drawing areas are meant for animated video thumbnail(shortened and downscaled). When you clicking on a thumbnail, it starts the actual playback on a different

Re: How to create a thumbnail of a picture?

2009-12-13 Thread Jianchun Zhou
Thanks Lars. On Fri, Dec 11, 2009 at 6:10 PM, Lars Wirzenius l...@liw.fi wrote: On Fri, 2009-12-11 at 17:50 +0800, Jianchun Zhou wrote: Hi, All: Any body knows how to create a thumbnail of a picture in GTK+? I want to load an image, then output a file which is the resized image. The

Re: getting button_press event for gtk_drawing_area

2009-12-13 Thread Eigo Mori
Hi Carlos, This has been working fine until being compiled with gtk+-2.18.0 but does not work after that. Now I found that it worked with the later gtk if I add GDK_BUTTON_RELEASE_MASK when calling gtk_widget_set_events(). I don't know why... I even don't have the callback for the

Re: subclassing GtkTreeModelFilter

2009-12-13 Thread Kristian Rietveld
Hi, On Wed, Dec 9, 2009 at 10:43 AM, Danielle Madeley danielle.made...@collabora.co.uk wrote: Looking for feedback on https://bugzilla.gnome.org/show_bug.cgi?id=604150 which includes a patch I wrote to make GtkTreeModelFilter more-useful for subclassing. I am not at all opposed to this idea;

'Suspect' libglib-2.0 when launching Ardour2.8.4

2009-12-13 Thread G. GuitarLord
Greetings! I use Glib2.22.0, which I compile with GCC 4.4.2 using just './configure --prefix=/usr'. The whole compile and install process returns no errors. Since this linux box is optimized for audio, I use Ardour DAW most of the time. When I try to run Ardour, however, I get this warning:

Call for Talks - FOSDEM 2010 (GNOME devroom)

2009-12-13 Thread Christophe Fergeau
Hi everyone, As for the last few years, we'll have a GNOME devroom next year at FOSDEM (6/7 feb in Brussels), and as always, we want *YOU* to give a talk about the cool project you are hacking on in this devroom During this week-end, we'll have half a day dedicated to GNOME specific talks, and

Re: 'Suspect' libglib-2.0 when launching Ardour2.8.4

2009-12-13 Thread Paul Davis
On Sun, Dec 13, 2009 at 9:30 AM, G. GuitarLord muadiba...@hotmail.com wrote: nm -D --radix=dec --defined-only /usr/lib/libglib-2.0.so | grep -w g_atomic_int_add which returns: 00072976 T g_atomic_int_add I got that command slightly wrong. Please show what the output of this is: nm -D

RE: 'Suspect' libglib-2.0 when launching Ardour2.8.4

2009-12-13 Thread G. GuitarLord
Got it! It returns: 00072976 0014 T g_atomic_int_add Does this help? Date: Sun, 13 Dec 2009 15:24:02 -0500 Subject: Re: 'Suspect' libglib-2.0 when launching Ardour2.8.4 From: p...@linuxaudiosystems.com To: muadiba...@hotmail.com CC: gtk-devel-list@gnome.org On Sun, Dec 13, 2009

Re: 'Suspect' libglib-2.0 when launching Ardour2.8.4

2009-12-13 Thread Paul Davis
On Sun, Dec 13, 2009 at 3:56 PM, G. GuitarLord muadiba...@hotmail.com wrote: Got it! It returns: 00072976 0014 T g_atomic_int_add this should not trigger the message, which is based on testing the second field for a value larger than 32. --radix=dec was specified to ensure that the size

RE: 'Suspect' libglib-2.0 when launching Ardour2.8.4

2009-12-13 Thread G. GuitarLord
So, what you're saying is that, although I have e.g. glib2.22.0 compiled and installed, there might be a part of my distro's glib active? Date: Sun, 13 Dec 2009 20:21:05 -0500 Subject: Re: 'Suspect' libglib-2.0 when launching Ardour2.8.4 From: p...@linuxaudiosystems.com To:

RE: 'Suspect' libglib-2.0 when launching Ardour2.8.4

2009-12-13 Thread G. GuitarLord
The /usr/lib/libglib-2.0.so is a symbolic link that points to libglib-2.0.so.0.2200.0. Which, in turn, is installed from the compiled glib2.22.0 directory. SO, the 'nm' command you told me to run checks the file it is supposed to check...I just saw this, don't know if it helps... YUM,