mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
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.
This commit is contained in:
parent
6d763bd97c
commit
4884c293d1
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2005-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
|
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2005-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
|
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2005-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
|
* 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_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
|
static GIOFlags
|
||||||
|
Loading…
Reference in New Issue
Block a user