summaryrefslogtreecommitdiff
path: root/glib.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2000-01-26 04:29:06 +0000
committerTim Janik <timj@src.gnome.org>2000-01-26 04:29:06 +0000
commitce4d6765c92bbcd142937ef56f2dc76f47d6c047 (patch)
treee3ff033798ac97a66a13cb17a822c91b4a031c63 /glib.h
parent948f64a183b75de140fd86fefd72b35fda082887 (diff)
downloadglib-ce4d6765c92bbcd142937ef56f2dc76f47d6c047.tar.gz
s/current_time/dispatch_time/ for the dispatch() handlers. refetch the
Wed Jan 26 05:24:38 2000 Tim Janik <timj@gtk.org> * glib.h: * gmain.c: s/current_time/dispatch_time/ for the dispatch() handlers. refetch the current time after invocation of poll() to cover up for the time spent in that function call.
Diffstat (limited to 'glib.h')
-rw-r--r--glib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/glib.h b/glib.h
index 92397dddb..037912621 100644
--- a/glib.h
+++ b/glib.h
@@ -138,7 +138,7 @@ extern "C" {
* as such; using this with a dynamically allocated array will give
* incorrect results.
*/
-#define G_N_ELEMENTS(arr) (sizeof(arr) / sizeof((arr)[0]))
+#define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0]))
/* Define G_VA_COPY() to do the right thing for copying va_list variables.
* glibconfig.h may have already defined G_VA_COPY as va_copy or __va_copy.
@@ -2649,7 +2649,7 @@ struct _GSourceFuncs
GTimeVal *current_time,
gpointer user_data);
gboolean (*dispatch) (gpointer source_data,
- GTimeVal *current_time,
+ GTimeVal *dispatch_time,
gpointer user_data);
GDestroyNotify destroy;
};
@@ -2677,7 +2677,7 @@ gboolean g_source_remove_by_source_data (gpointer source_data);
gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs,
gpointer user_data);
-void g_get_current_time (GTimeVal *result);
+void g_get_current_time (GTimeVal *result);
/* Running the main loop */
GMainLoop* g_main_new (gboolean is_running);