# HG changeset patch # User Elliott Sales de Andrade # Date 1315334281 0 # Node ID e1c801f3669d4f1a116c1f796b56a291818dffa5 # Parent 0f0996c93c42b697fa5d7d972c483915eeea7b39 I assume this check was backwards, since embedding should be used on !Windows. Also, fix a warning when the function's not used. diff -r 0f0996c93c42 -r e1c801f3669d pidgin/gtkdocklet.c --- a/pidgin/gtkdocklet.c Tue Sep 06 18:30:50 2011 +0000 +++ b/pidgin/gtkdocklet.c Tue Sep 06 18:38:01 2011 +0000 @@ -858,6 +858,7 @@ return FALSE; } +#ifndef _WIN32 static gboolean docklet_gtk_embed_timeout_cb(gpointer data) { @@ -890,6 +891,7 @@ return TRUE; #endif } +#endif #if GTK_CHECK_VERSION(2,12,0) static gboolean @@ -1005,7 +1007,7 @@ */ if (!recreate) { pidgin_docklet_embedded(); -#ifdef _WIN32 +#ifndef _WIN32 #if GTK_CHECK_VERSION(2,12,0) if (purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/docklet/gtk/embedded")) { embed_timeout = purple_timeout_add_seconds(LONG_EMBED_TIMEOUT, docklet_gtk_embed_timeout_cb, NULL);