evolution r35383 - trunk/e-util



Author: mbarnes
Date: Fri Apr 18 20:57:43 2008
New Revision: 35383
URL: http://svn.gnome.org/viewvc/evolution?rev=35383&view=rev

Log:
2008-04-18  Matthew Barnes  <mbarnes redhat com>

	** Fixes bug #528817

	* e-util/e-plugin.c (e_plugin_register_type):
	Fix a typo in the logic.  This might explain why I occasionally
	find Exchange Operations disabled on startup.



Modified:
   trunk/e-util/ChangeLog
   trunk/e-util/e-plugin.c

Modified: trunk/e-util/e-plugin.c
==============================================================================
--- trunk/e-util/e-plugin.c	(original)
+++ trunk/e-util/e-plugin.c	Fri Apr 18 20:57:43 2008
@@ -604,7 +604,7 @@
 				char *prop_type;
 
 				prop_type = (char *)xmlGetProp(root, (const unsigned char *)"type");
-				if (!strcmp((char *)type, klass->type))
+				if (!strcmp(prop_type, klass->type))
 					add = g_slist_append(add, l->data);
 				xmlFree(prop_type);
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]