[evolution-patches] Shell Component Registry Patch




-JP
-- 
JP Rosevear <jpr novell com>
? es-config.c
? es-config.h
? import-fix.patch
? registry-leak.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/shell/ChangeLog,v
retrieving revision 1.1495
diff -u -p -r1.1495 ChangeLog
--- ChangeLog	8 Feb 2005 00:38:09 -0000	1.1495
+++ ChangeLog	10 Feb 2005 21:25:14 -0000
@@ -1,3 +1,8 @@
+2005-02-10  JP Rosevear  <jpr novell com>
+
+	* e-component-registry.c (query_components): unref the menu icon
+	if it exists to fix a leak
+
 2005-02-07  JP Rosevear  <jpr novell com>
 
 	* apps_evolution_shell.schemas.in.in: clean up descriptions
Index: e-component-registry.c
===================================================================
RCS file: /cvs/gnome/evolution/shell/e-component-registry.c,v
retrieving revision 1.53
diff -u -p -r1.53 e-component-registry.c
--- e-component-registry.c	28 Jan 2005 14:42:41 -0000	1.53
+++ e-component-registry.c	10 Feb 2005 21:25:14 -0000
@@ -229,6 +229,8 @@ query_components (EComponentRegistry *re
 
 		if (icon != NULL)
 			g_object_unref (icon);
+		if (menuicon != NULL)
+			g_object_unref (menuicon);
 		bonobo_object_release_unref(iface, NULL);
 	}
 	g_slist_free(language_list);


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