Re: Pixmaps transparency

2005-03-17 Thread Tristan Van Berkom
Peter Zhelezniakov wrote: Hello GTK developers, I have an external library that draws possibly transparent/translucent images to a GdkDrawable only. I want to capture these images in a pixbuf, but when i try to copy pixels from the drawable (a pixmap), all information about transparency is

Re: how to copy folder using glib?

2005-03-17 Thread Iago Rubio
On Thu, 2005-03-17 at 22:57 +0100, Sandi Winter wrote: how to copy folder using glib? AFAIK there're no specific function for this on glib. You should make a loop reading all the files and copying them, or try a system() call and pray for the best. -- Iago Rubio

Re: gdk/win32 and cairo [was: Cairo now a dependency of HEAD GTK+]

2005-03-17 Thread Owen Taylor
On Wed, 2005-03-02 at 16:26 -0500, Owen Taylor wrote: I'll leave the final patch up to you; I really don't care a lot about naming inside the Win32 backend. But I would suggest you compare the handling of the Cairo surface in the two patches; I think what I'm doing will work better in the

Re: gdk/win32 and cairo [was: Cairo now a dependency of HEAD GTK+]

2005-03-17 Thread Tor Lillqvist
Owen Taylor writes: I committed a big change yesterday to make GTK+/GDK use Cairo for much of it's drawing. Yeah, I just noticed ;-) So, we need to get something in to keep the win32 port running. Unless I hear otherwise, what I'll do is fix up my patch for some changes I made in the

NetworkManager segfault (invalid glib callbacks)

2005-03-17 Thread Pierre Ossman
I've been experiencing segfaults with NetworkManager and after some rather pesky debugging sessions it seems that the problem lies within glib. backtrace from the crash: #0 0x0010 in ?? () #1 0xb7f6f134 in dbus_timeout_handle (timeout=0x8074610) at dbus-timeout.c:470 #2 0xb7fdf71d in

Re: NetworkManager segfault (invalid glib callbacks)

2005-03-17 Thread Havoc Pennington
On Thu, 2005-03-17 at 16:56 +0100, Pierre Ossman wrote: The problem here is that a 'source' that has been removed is somehow still dispatched. When it is called here the related structures are already freed and overwritten by other data. The callback address in the object (a DBusTimeout

Re: NetworkManager segfault (invalid glib callbacks)

2005-03-17 Thread Pierre Ossman
Havoc Pennington wrote: On Thu, 2005-03-17 at 16:56 +0100, Pierre Ossman wrote: The problem here is that a 'source' that has been removed is somehow still dispatched. When it is called here the related structures are already freed and overwritten by other data. The callback address in the

size and appearance of focus rectangle

2005-03-17 Thread Stefan Kost
i'am trying to find a solution for http://bugzilla.gnome.org/show_bug.cgi?id=169463 A few questions: 1) how does one get the especially the size of the focus-rectangle? 2) in the case of the cell-renderers, should cell-renderers handle drawing the focus or does the tree-view paints the

Re: Fellow gtk-win32 hackers: please test this

2005-03-17 Thread Robert Ă–gren
Tor Lillqvist wrote: Anyway, I don't know how important it actually can be not to generate events for inactive window. I don't think there is any direct equivalence to Win32's active window concept in X11, but anyway, if you move the cursor over GTK buttons in X11 they prelight even if the GTK app

Re: gdk/win32 and cairo [was: Cairo now a dependency of HEAD GTK+]

2005-03-17 Thread Owen Taylor
On Thu, 2005-03-17 at 15:12 +0200, Tor Lillqvist wrote: Owen Taylor writes: I committed a big change yesterday to make GTK+/GDK use Cairo for much of it's drawing. Yeah, I just noticed ;-) So, we need to get something in to keep the win32 port running. Unless I hear otherwise,