diff --git a/src/ChangeLog b/src/ChangeLog index 4c2eff17d..e9ce23e7f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2004-01-22 Pavel Roskin + + * glibcompat.h: Fix definition of g_try_realloc(). + 2003-12-24 Dmitry Alexeyev * key.c (get_event): Treat all negative values of gpm_fd in the diff --git a/src/glibcompat.h b/src/glibcompat.h index f186a945e..4aa8bc1d3 100644 --- a/src/glibcompat.h +++ b/src/glibcompat.h @@ -21,8 +21,8 @@ #if GLIB_MAJOR_VERSION < 2 gsize g_strlcpy (gchar *dest, const gchar *src, gsize dest_size); -#define g_try_malloc(x) malloc(x) -#define g_try_realloc(x) realloc(x) +#define g_try_malloc(size) malloc(size) +#define g_try_realloc(ptr,size) realloc(ptr,size) static inline GSList * g_slist_delete_link (GSList *list, GSList *link)