diff --git a/medit/medit-app.c b/medit/medit-app.c index ba00c278..65f795d7 100644 --- a/medit/medit-app.c +++ b/medit/medit-app.c @@ -21,9 +21,9 @@ #if GTK_CHECK_VERSION(2,8,0) && defined(GDK_WINDOWING_X11) #include -#define TIMESTAMP (gdk_x11_display_get_user_time (gdk_display_get_default ())) +#define TIMESTAMP() (gdk_x11_display_get_user_time (gdk_display_get_default ())) #else -#define TIMESTAMP (0) +#define TIMESTAMP() (0) #endif @@ -595,7 +595,7 @@ main (int argc, char *argv[]) init_mem_stuff (); gtk_init (&argc, &argv); - stamp = TIMESTAMP; + stamp = TIMESTAMP (); #if 0 gdk_window_set_debug_updates (TRUE); diff --git a/medit/medit-app.opag b/medit/medit-app.opag index 0a5a715e..68260f35 100644 --- a/medit/medit-app.opag +++ b/medit/medit-app.opag @@ -20,9 +20,9 @@ #if GTK_CHECK_VERSION(2,8,0) && defined(GDK_WINDOWING_X11) #include -#define TIMESTAMP (gdk_x11_display_get_user_time (gdk_display_get_default ())) +#define TIMESTAMP() (gdk_x11_display_get_user_time (gdk_display_get_default ())) #else -#define TIMESTAMP (0) +#define TIMESTAMP() (0) #endif @@ -262,7 +262,7 @@ main (int argc, char *argv[]) init_mem_stuff (); gtk_init (&argc, &argv); - stamp = TIMESTAMP; + stamp = TIMESTAMP (); #if 0 gdk_window_set_debug_updates (TRUE);