aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-08 17:38:46 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-08 17:38:46 +0800
commite835aa2faf3bf45c930924aaa60a134cdd269c35 (patch)
tree1fe866224b5fe9192ea5b9ee1a52068bb5194883
parent5dfe756f5f673429b6579600053e35047a2fa3cf (diff)
downloadgsoc2013-evolution-e835aa2faf3bf45c930924aaa60a134cdd269c35.tar.gz
gsoc2013-evolution-e835aa2faf3bf45c930924aaa60a134cdd269c35.tar.zst
gsoc2013-evolution-e835aa2faf3bf45c930924aaa60a134cdd269c35.zip
Fill the CORBA sequence once.
* evolution-shell-component.c (impl_ShellComponent__get_supported_types): Fill the CORBA sequence once. * e-activity-handler.c (activity_info_free): Unref the icon. svn path=/trunk/; revision=11773
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-activity-handler.c1
-rw-r--r--shell/evolution-shell-component.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 597efe29e0..ee9bfd4b69 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,13 @@
2001-08-08 Ettore Perazzoli <ettore@ximian.com>
+ * evolution-shell-component.c
+ (impl_ShellComponent__get_supported_types): Fill the CORBA
+ sequence once.
+
+ * e-activity-handler.c (activity_info_free): Unref the icon.
+
+2001-08-08 Ettore Perazzoli <ettore@ximian.com>
+
* e-task-bar.c (e_task_bar_prepend_task): Sigh. If the function
says "prepend", of course the function to call is
`g_list_prepend()', not `g_list_append()'. You dumbass.
diff --git a/shell/e-activity-handler.c b/shell/e-activity-handler.c
index 89ff551f4f..0c5c028248 100644
--- a/shell/e-activity-handler.c
+++ b/shell/e-activity-handler.c
@@ -281,6 +281,7 @@ activity_info_free (ActivityInfo *info)
CORBA_exception_init (&ev);
+ gdk_pixbuf_unref (info->icon_pixbuf);
CORBA_free (info->information);
CORBA_Object_release (info->event_listener, &ev);
diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c
index bd7421c19c..5f5a9721b1 100644
--- a/shell/evolution-shell-component.c
+++ b/shell/evolution-shell-component.c
@@ -160,8 +160,6 @@ impl_ShellComponent__get_supported_types (PortableServer_Servant servant,
corba_folder_type->icon_name = CORBA_string_dup (folder_type->icon_name);
corba_folder_type->user_creatable = folder_type->user_creatable;
- fill_corba_sequence_from_null_terminated_string_array (& corba_folder_type->accepted_dnd_types,
- folder_type->accepted_dnd_types);
fill_corba_sequence_from_null_terminated_string_array (& corba_folder_type->exported_dnd_types,
folder_type->exported_dnd_types);
}