From a3b04be4f0788104ba7f7e12abff000f573ec439 Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Wed, 17 Dec 2003 00:50:03 +0000 Subject: Use e_source_equal() instead of comparing pointers. This allows user to 2003-12-16 Hans Petter Jansson * misc/e-source-option-menu.c (select_source_foreach_menu_item): Use e_source_equal() instead of comparing pointers. This allows user to pass in a source that was obtained from somewhere else. Set the matching internal source as "selected" instead of the one passed in. (select_source): Emit signal only if we found a match. Don't ref/unref anything, since the selected source will always be from our internal list. svn path=/trunk/; revision=23954 --- widgets/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'widgets/ChangeLog') diff --git a/widgets/ChangeLog b/widgets/ChangeLog index 0cd57d5557..0ee7c01e56 100644 --- a/widgets/ChangeLog +++ b/widgets/ChangeLog @@ -1,3 +1,13 @@ +2003-12-16 Hans Petter Jansson + + * misc/e-source-option-menu.c (select_source_foreach_menu_item): + Use e_source_equal() instead of comparing pointers. This allows user + to pass in a source that was obtained from somewhere else. Set the + matching internal source as "selected" instead of the one passed in. + (select_source): Emit signal only if we found a match. Don't ref/unref + anything, since the selected source will always be from our internal + list. + 2003-12-10 Not Zed * menus/gal-view-menus.c (remove_instance): NULL out -- cgit v1.2.3