evolution r35384 - branches/gnome-2-22/e-util



Author: mbarnes
Date: Fri Apr 18 21:00:09 2008
New Revision: 35384
URL: http://svn.gnome.org/viewvc/evolution?rev=35384&view=rev

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

	** Fixes bug #528817

	* 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:
   branches/gnome-2-22/e-util/ChangeLog
   branches/gnome-2-22/e-util/e-plugin.c

Modified: branches/gnome-2-22/e-util/e-plugin.c
==============================================================================
--- branches/gnome-2-22/e-util/e-plugin.c	(original)
+++ branches/gnome-2-22/e-util/e-plugin.c	Fri Apr 18 21:00:09 2008
@@ -574,7 +574,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]