1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-26 08:38:26 +00:00

link to glib with xmms

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@503 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2006-01-12 03:17:34 +00:00
parent c1e9ff4fb4
commit b2a476a4b2

View File

@ -210,7 +210,7 @@ void *xmms_thread_func_dynamic(void *pvoid)
glib_v1_2_handle=NULL;
g_free_v1_2=NULL;
/* Conky likely be linked to libglib-2.0.so and not libglib-1.2.so.0. If conky is receiving
/* Conky will likely be linked to libglib-2.0.so and not libglib-1.2.so.0. If conky is receiving
* gchar * data from xmms, these strings need to be freed using g_free() from libglib-1.2.so.0.
* This macro selects the g_free() from the correct library. */
#define G_FREE(mem) (info.xmms.current_project==PROJECT_XMMS ? (*g_free_v1_2)(mem) : g_free(mem))