Lines 42-47
Link Here
|
42 |
|
42 |
|
43 |
#define PLUGIN_ID "pidgin-libnotify" |
43 |
#define PLUGIN_ID "pidgin-libnotify" |
44 |
|
44 |
|
|
|
45 |
// Compatibility macro for <libnotify-0.7 |
46 |
#ifndef NOTIFY_CHECK_VERSION |
47 |
#define NOTIFY_CHECK_VERSION(x,y,z) 0 |
48 |
#endif |
49 |
|
45 |
static GHashTable *buddy_hash; |
50 |
static GHashTable *buddy_hash; |
46 |
|
51 |
|
47 |
static PurplePluginPrefFrame * |
52 |
static PurplePluginPrefFrame * |
Lines 286-292
Link Here
|
286 |
g_free (tr_body); |
291 |
g_free (tr_body); |
287 |
return; |
292 |
return; |
288 |
} |
293 |
} |
289 |
notification = notify_notification_new (title, tr_body, NULL, NULL); |
294 |
notification = notify_notification_new (title, tr_body, NULL |
|
|
295 |
#if !NOTIFY_CHECK_VERSION(0,7,0) |
296 |
, NULL |
297 |
#endif |
298 |
); |
290 |
purple_debug_info (PLUGIN_ID, "notify(), new: " |
299 |
purple_debug_info (PLUGIN_ID, "notify(), new: " |
291 |
"title: '%s', body: '%s', buddy: '%s'\n", |
300 |
"title: '%s', body: '%s', buddy: '%s'\n", |
292 |
title, tr_body, best_name (buddy)); |
301 |
title, tr_body, best_name (buddy)); |