Add user_data to check and prepare functions

-Yosh
This commit is contained in:
Manish Singh
1999-03-23 21:44:16 +00:00
parent f24c9fb7ef
commit 6b1e2b8fed
10 changed files with 48 additions and 8 deletions

View File

@@ -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> Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
* glib.h: * glib.h:

View File

@@ -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> Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
* glib.h: * glib.h:

View File

@@ -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> Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
* glib.h: * glib.h:

View File

@@ -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> Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
* glib.h: * glib.h:

View File

@@ -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> Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
* glib.h: * glib.h:

View File

@@ -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> Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
* glib.h: * glib.h:

View File

@@ -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> Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
* glib.h: * glib.h:

View File

@@ -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> Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
* glib.h: * glib.h:

View File

@@ -78,9 +78,11 @@ static guint g_io_unix_add_watch (GIOChannel *channel,
GDestroyNotify notify); GDestroyNotify notify);
static gboolean g_io_unix_prepare (gpointer source_data, static gboolean g_io_unix_prepare (gpointer source_data,
GTimeVal *current_time, GTimeVal *current_time,
gint *timeout); gint *timeout,
gpointer user_data);
static gboolean g_io_unix_check (gpointer source_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, static gboolean g_io_unix_dispatch (gpointer source_data,
GTimeVal *current_time, GTimeVal *current_time,
gpointer user_data); gpointer user_data);
@@ -105,7 +107,8 @@ GIOFuncs unix_channel_funcs = {
static gboolean static gboolean
g_io_unix_prepare (gpointer source_data, g_io_unix_prepare (gpointer source_data,
GTimeVal *current_time, GTimeVal *current_time,
gint *timeout) gint *timeout,
gpointer user_data)
{ {
*timeout = -1; *timeout = -1;
return FALSE; return FALSE;
@@ -113,7 +116,8 @@ g_io_unix_prepare (gpointer source_data,
static gboolean static gboolean
g_io_unix_check (gpointer source_data, g_io_unix_check (gpointer source_data,
GTimeVal *current_time) GTimeVal *current_time,
gpointer user_data)
{ {
GIOUnixWatch *data = source_data; GIOUnixWatch *data = source_data;

View File

@@ -78,9 +78,11 @@ static guint g_io_unix_add_watch (GIOChannel *channel,
GDestroyNotify notify); GDestroyNotify notify);
static gboolean g_io_unix_prepare (gpointer source_data, static gboolean g_io_unix_prepare (gpointer source_data,
GTimeVal *current_time, GTimeVal *current_time,
gint *timeout); gint *timeout,
gpointer user_data);
static gboolean g_io_unix_check (gpointer source_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, static gboolean g_io_unix_dispatch (gpointer source_data,
GTimeVal *current_time, GTimeVal *current_time,
gpointer user_data); gpointer user_data);
@@ -105,7 +107,8 @@ GIOFuncs unix_channel_funcs = {
static gboolean static gboolean
g_io_unix_prepare (gpointer source_data, g_io_unix_prepare (gpointer source_data,
GTimeVal *current_time, GTimeVal *current_time,
gint *timeout) gint *timeout,
gpointer user_data)
{ {
*timeout = -1; *timeout = -1;
return FALSE; return FALSE;
@@ -113,7 +116,8 @@ g_io_unix_prepare (gpointer source_data,
static gboolean static gboolean
g_io_unix_check (gpointer source_data, g_io_unix_check (gpointer source_data,
GTimeVal *current_time) GTimeVal *current_time,
gpointer user_data)
{ {
GIOUnixWatch *data = source_data; GIOUnixWatch *data = source_data;