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:
Benjamin Otte
2009-08-13 20:19:15 +02:00
parent a0e3b4ae84
commit bb8e4f06ab
5 changed files with 34 additions and 31 deletions

View File

@@ -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);