mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-03 20:29:21 +02: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>
|
Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* 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>
|
Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* 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>
|
Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* 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>
|
Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* 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>
|
Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* 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>
|
Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* 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>
|
Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* 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>
|
Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
|
12
giounix.c
12
giounix.c
@@ -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;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user