From cb0d35002188b5d4cf1bb4f9d139c7f52b645700 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Thu, 4 Jan 2007 08:52:53 -0600 Subject: [PATCH] Made TIMESTAMP macro look better --- medit/medit-app.c | 6 +++--- medit/medit-app.opag | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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);