mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 16:32:18 +01:00 
			
		
		
		
	Add user_data to check and prepare functions
-Yosh
This commit is contained in:
		| @@ -1,3 +1,7 @@ | ||||
| Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org> | ||||
|  | ||||
| 	* giounix.c: add user_data param to check and prepare functions | ||||
|  | ||||
| Mon Mar 22 03:54:43 1999  Tim Janik  <timj@gtk.org> | ||||
|  | ||||
| 	* glib.h: | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org> | ||||
|  | ||||
| 	* giounix.c: add user_data param to check and prepare functions | ||||
|  | ||||
| Mon Mar 22 03:54:43 1999  Tim Janik  <timj@gtk.org> | ||||
|  | ||||
| 	* glib.h: | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org> | ||||
|  | ||||
| 	* giounix.c: add user_data param to check and prepare functions | ||||
|  | ||||
| Mon Mar 22 03:54:43 1999  Tim Janik  <timj@gtk.org> | ||||
|  | ||||
| 	* glib.h: | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org> | ||||
|  | ||||
| 	* giounix.c: add user_data param to check and prepare functions | ||||
|  | ||||
| Mon Mar 22 03:54:43 1999  Tim Janik  <timj@gtk.org> | ||||
|  | ||||
| 	* glib.h: | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org> | ||||
|  | ||||
| 	* giounix.c: add user_data param to check and prepare functions | ||||
|  | ||||
| Mon Mar 22 03:54:43 1999  Tim Janik  <timj@gtk.org> | ||||
|  | ||||
| 	* glib.h: | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org> | ||||
|  | ||||
| 	* giounix.c: add user_data param to check and prepare functions | ||||
|  | ||||
| Mon Mar 22 03:54:43 1999  Tim Janik  <timj@gtk.org> | ||||
|  | ||||
| 	* glib.h: | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org> | ||||
|  | ||||
| 	* giounix.c: add user_data param to check and prepare functions | ||||
|  | ||||
| Mon Mar 22 03:54:43 1999  Tim Janik  <timj@gtk.org> | ||||
|  | ||||
| 	* glib.h: | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org> | ||||
|  | ||||
| 	* giounix.c: add user_data param to check and prepare functions | ||||
|  | ||||
| Mon Mar 22 03:54:43 1999  Tim Janik  <timj@gtk.org> | ||||
|  | ||||
| 	* glib.h: | ||||
|   | ||||
							
								
								
									
										12
									
								
								giounix.c
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								giounix.c
									
									
									
									
									
								
							| @@ -78,9 +78,11 @@ static guint  g_io_unix_add_watch (GIOChannel      *channel, | ||||
| 				   GDestroyNotify notify); | ||||
| static gboolean g_io_unix_prepare  (gpointer source_data,  | ||||
| 				    GTimeVal *current_time, | ||||
| 				    gint *timeout); | ||||
| 				    gint *timeout, | ||||
| 				    gpointer user_data); | ||||
| static gboolean g_io_unix_check    (gpointer source_data, | ||||
| 				    GTimeVal *current_time); | ||||
| 				    GTimeVal *current_time, | ||||
| 				    gpointer user_data); | ||||
| static gboolean g_io_unix_dispatch (gpointer source_data, | ||||
| 				    GTimeVal *current_time, | ||||
| 				    gpointer user_data); | ||||
| @@ -105,7 +107,8 @@ GIOFuncs unix_channel_funcs = { | ||||
| static gboolean  | ||||
| g_io_unix_prepare  (gpointer source_data,  | ||||
| 		    GTimeVal *current_time, | ||||
| 		    gint    *timeout) | ||||
| 		    gint     *timeout, | ||||
| 		    gpointer user_data) | ||||
| { | ||||
|   *timeout = -1; | ||||
|   return FALSE; | ||||
| @@ -113,7 +116,8 @@ g_io_unix_prepare  (gpointer source_data, | ||||
|  | ||||
| static gboolean  | ||||
| g_io_unix_check    (gpointer source_data, | ||||
| 		    GTimeVal *current_time) | ||||
| 		    GTimeVal *current_time, | ||||
| 		    gpointer user_data) | ||||
| { | ||||
|   GIOUnixWatch *data = source_data; | ||||
|  | ||||
|   | ||||
| @@ -78,9 +78,11 @@ static guint  g_io_unix_add_watch (GIOChannel      *channel, | ||||
| 				   GDestroyNotify notify); | ||||
| static gboolean g_io_unix_prepare  (gpointer source_data,  | ||||
| 				    GTimeVal *current_time, | ||||
| 				    gint *timeout); | ||||
| 				    gint *timeout, | ||||
| 				    gpointer user_data); | ||||
| static gboolean g_io_unix_check    (gpointer source_data, | ||||
| 				    GTimeVal *current_time); | ||||
| 				    GTimeVal *current_time, | ||||
| 				    gpointer user_data); | ||||
| static gboolean g_io_unix_dispatch (gpointer source_data, | ||||
| 				    GTimeVal *current_time, | ||||
| 				    gpointer user_data); | ||||
| @@ -105,7 +107,8 @@ GIOFuncs unix_channel_funcs = { | ||||
| static gboolean  | ||||
| g_io_unix_prepare  (gpointer source_data,  | ||||
| 		    GTimeVal *current_time, | ||||
| 		    gint    *timeout) | ||||
| 		    gint     *timeout, | ||||
| 		    gpointer user_data) | ||||
| { | ||||
|   *timeout = -1; | ||||
|   return FALSE; | ||||
| @@ -113,7 +116,8 @@ g_io_unix_prepare  (gpointer source_data, | ||||
|  | ||||
| static gboolean  | ||||
| g_io_unix_check    (gpointer source_data, | ||||
| 		    GTimeVal *current_time) | ||||
| 		    GTimeVal *current_time, | ||||
| 		    gpointer user_data) | ||||
| { | ||||
|   GIOUnixWatch *data = source_data; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user