mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 16:33:40 +02:00
Bug 591714 – Figure out failure handling for g_cancellable_make_pollfd()
Make g_cancellable_make_pollfd() return a gboolean that indicates its error status. Update the code that calls this function accordingly.
This commit is contained in:
@@ -79,7 +79,7 @@ gboolean g_cancellable_set_error_if_cancelled (GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
int g_cancellable_get_fd (GCancellable *cancellable);
|
||||
void g_cancellable_make_pollfd (GCancellable *cancellable,
|
||||
gboolean g_cancellable_make_pollfd (GCancellable *cancellable,
|
||||
GPollFD *pollfd);
|
||||
|
||||
GCancellable *g_cancellable_get_current (void);
|
||||
|
Reference in New Issue
Block a user