tags 394298 +patch

The attached patch should fix the bug. The use of VERSION in the plugin
was bogus.
--- gaim-encryption-3.0+beta5/encrypt.c.orig	2006-10-22 18:13:57.000000000 -0400
+++ gaim-encryption-3.0+beta5/encrypt.c	2006-10-22 19:08:22.000000000 -0400
@@ -21,7 +21,7 @@
 #include <gdk/gdk.h>
 #include <gtk/gtkplug.h>
 
-#include <config.h>
 #include <debug.h>
 #include <gaim.h>
 #include <core.h>
@@ -1186,14 +1186,6 @@
    setlocale(LC_ALL, "");
 #endif
 
-   if (strcmp(gaim_core_get_version(), VERSION) != 0) {
-      gaim_debug(GAIM_DEBUG_ERROR, "gaim-encryption",
-                 "Compiled with Gaim v'%s', running with v'%s'.\n",
-                 VERSION, gaim_core_get_version());
-      /* GE_error_window(_("Gaim-Encryption plugin was compiled with a different " */
-      /*                   "version of Gaim.  You may experience problems.")); */
-   }
-
    init_prefs();
 
    conv_handle = gaim_conversations_get_handle();
@@ -1276,7 +1268,7 @@
 
    ENCRYPT_PLUGIN_ID,                                /**< id             */
    0,                                                /**< name           */
-   ENC_VERSION " (Gaim " VERSION ")",                /**< version        */
+   ENC_VERSION,                                      /**< version        */
    0,                                                /**  summary        */
    0,                                                /**  description    */
    0,                                                /**< author         */

Reply via email to