Re: g_file_write()

2005-03-22 Thread Soeren Sandmann
Soeren Sandmann <[EMAIL PROTECTED]> writes: > I think this is a serious problem. The file should be created with the > umask permissions. You can do this: > > #ifndef G_OS_WIN32 > { >mode_t mode = umask (0); >umask (mode); > >chmod (filename, mode); > } > #endif > > but then there

Re: How long does it take to load a file

2005-03-22 Thread Federico Mena Quintero
On Wed, 2005-03-16 at 14:43 -0600, Robertson, Ezban wrote: > I'm loading a series of jpeg images (also tried with png) and notice it > takes about 1.2 seconds to load each. Is this normal? I'm using the > function gdk_pixbuf_new_from_file. > Is there a better (i.e faster) alternative? Someone rea

Re: Drop WM_ERASEBKGND handling in gdkevents-win32.c?

2005-03-22 Thread John Ehresman
Tor Lillqvist wrote: Owen Taylor writes: > There is a third possible issue - if you are moving another window over > a window, does windows send: > > ERASEBKGND > ERASEBKGND > ERASEBKGND > PAINT > > Or is ERASEBKGN only sent immediately before PAINT? If I understand correctly, WM_E

Re: GtkPlug/Socket on Win32: is_focus vs. is-focus

2005-03-22 Thread Matthias Clasen
On Tue, 2005-03-22 at 03:12 +0200, Tor Lillqvist wrote: > In gtksocket.c, we have: > > static void > gtk_socket_notify (GObject*object, > GParamSpec *pspec) > { > if (!strcmp (pspec->name, "is_focus")) > return; > > socket_update_focus_in (GTK_SOCKET (object)); > } >