[glib] Use g types in public API for consistency



commit 11bb78105dc2effcfe9c48365fa2e295fb48ee38
Author: Colin Walters <walters verbum org>
Date:   Tue May 3 10:57:22 2011 -0400

    Use g types in public API for consistency

 glib/glib-unix.h |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/glib/glib-unix.h b/glib/glib-unix.h
index de38c54..c85a277 100644
--- a/glib/glib-unix.h
+++ b/glib/glib-unix.h
@@ -57,20 +57,20 @@
 
 GQuark g_unix_error_quark (void);
 
-gboolean g_unix_pipe_flags (int      *fds,
-			    int       flags,
-			    GError  **error);
+gboolean g_unix_pipe_flags (gint      *fds,
+			    gint       flags,
+			    GError   **error);
 
 gboolean g_unix_set_fd_nonblocking (gint       fd,
 				    gboolean   nonblock,
 				    GError   **error);
 
-GSource *g_unix_signal_source_new     (int signum);
+GSource *g_unix_signal_source_new     (gint signum);
 
-guint    g_unix_signal_add_watch_full (int            signum,
-				       int            priority,
-				       GSourceFunc    handler,
-				       gpointer       user_data,
-				       GDestroyNotify notify);
+guint    g_unix_signal_add_watch_full (gint            signum,
+				       gint            priority,
+				       GSourceFunc     handler,
+				       gpointer        user_data,
+				       GDestroyNotify  notify);
 
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]