Commit 4884c293 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Don't call g_warning(). (#320688) Instead set error and return failure.

2005-11-05  Tor Lillqvist  <tml@novell.com>

	* glib/giowin32.c (g_io_win32_set_flags): Don't call g_warning().
	(#320688) Instead set error and return failure.
parent 6d763bd9
2005-11-05 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c (g_io_win32_set_flags): Don't call g_warning().
(#320688) Instead set error and return failure.
2005-11-07 Matthias Clasen <mclasen@redhat.com>
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
......
2005-11-05 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c (g_io_win32_set_flags): Don't call g_warning().
(#320688) Instead set error and return failure.
2005-11-07 Matthias Clasen <mclasen@redhat.com>
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
......
2005-11-05 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c (g_io_win32_set_flags): Don't call g_warning().
(#320688) Instead set error and return failure.
2005-11-07 Matthias Clasen <mclasen@redhat.com>
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
......
......@@ -1444,9 +1444,11 @@ g_io_win32_set_flags (GIOChannel *channel,
g_print ("\n");
}
g_warning ("g_io_win32_set_flags () not implemented.\n");
g_set_error (err, G_IO_CHANNEL_ERROR,
G_IO_CHANNEL_ERROR_FAILED,
"Not implemented on Win32");
return G_IO_STATUS_NORMAL;
return G_IO_STATUS_ERROR;
}
static GIOFlags
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment