mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
Pass correct timeout value to g_io_channel_win32_wait_for_condition
2000-08-01 Tor Lillqvist <tml@iki.fi> * libgimp/gimp.c (gimp_extension_process): Pass correct timeout value to g_io_channel_win32_wait_for_condition (actually g_poll) to indicate infinite wait.
This commit is contained in:
parent
261e3c6801
commit
0444ceddbf
|
@ -1,3 +1,9 @@
|
|||
2000-08-01 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* libgimp/gimp.c (gimp_extension_process): Pass correct timeout
|
||||
value to g_io_channel_win32_wait_for_condition (actually g_poll)
|
||||
to indicate infinite wait.
|
||||
|
||||
2000-08-01 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gimputils.[ch]: added g_strcompress from glib-1.3
|
||||
|
|
|
@ -819,6 +819,12 @@ gimp_extension_process (guint timeout)
|
|||
gimp_quit ();
|
||||
}
|
||||
#else
|
||||
/* Zero means infinite wait for us, but g_poll and
|
||||
* g_io_channel_win32_wait_for_condition use -1 to indicate
|
||||
* infinite wait.
|
||||
*/
|
||||
if (timeout == 0)
|
||||
timeout = -1;
|
||||
if (g_io_channel_win32_wait_for_condition (_readchannel, G_IO_IN, timeout) == 1)
|
||||
gimp_single_message ();
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue