Mercurial > pidgin
comparison finch/libgnt/gnt.h @ 26440:8df78c06d10e
Save the world.
Patch from Arunan Bala to save the world. But instead of saving the
cheerleader, he's using g_timeout_add_seconds where possible in place of
g_timeout_add. Closes #8831.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 05 Apr 2009 08:42:00 +0000 |
parents | c38d72677c8a |
children |
comparison
equal
deleted
inserted
replaced
26439:c67d43408daa | 26440:8df78c06d10e |
---|---|
44 */ | 44 */ |
45 #if !GLIB_CHECK_VERSION(2,8,0) | 45 #if !GLIB_CHECK_VERSION(2,8,0) |
46 #define G_PARAM_STATIC_NAME G_PARAM_PRIVATE | 46 #define G_PARAM_STATIC_NAME G_PARAM_PRIVATE |
47 #define G_PARAM_STATIC_NICK G_PARAM_PRIVATE | 47 #define G_PARAM_STATIC_NICK G_PARAM_PRIVATE |
48 #define G_PARAM_STATIC_BLURB G_PARAM_PRIVATE | 48 #define G_PARAM_STATIC_BLURB G_PARAM_PRIVATE |
49 #endif | |
50 | |
51 #if !GLIB_CHECK_VERSION(2,14,0) | |
52 #define g_timeout_add_seconds(time, callback, data) g_timeout_add(time * 1000, callback, data) | |
49 #endif | 53 #endif |
50 | 54 |
51 /** | 55 /** |
52 * Initialize GNT. | 56 * Initialize GNT. |
53 */ | 57 */ |