aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-08 17:56:34 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-08 17:56:34 +0800
commitbb74dae1ceebc170045d9e7149cb1106af2d740d (patch)
treeb9fb01dd31f1aff738bdfed73ad292d8cb248481 /shell
parent2dbc89d3fce53a9095e42b9811ad1e42a928862b (diff)
downloadgsoc2013-evolution-bb74dae1ceebc170045d9e7149cb1106af2d740d.tar
gsoc2013-evolution-bb74dae1ceebc170045d9e7149cb1106af2d740d.tar.gz
gsoc2013-evolution-bb74dae1ceebc170045d9e7149cb1106af2d740d.tar.bz2
gsoc2013-evolution-bb74dae1ceebc170045d9e7149cb1106af2d740d.tar.lz
gsoc2013-evolution-bb74dae1ceebc170045d9e7149cb1106af2d740d.tar.xz
gsoc2013-evolution-bb74dae1ceebc170045d9e7149cb1106af2d740d.tar.zst
gsoc2013-evolution-bb74dae1ceebc170045d9e7149cb1106af2d740d.zip
Set the release flag for the newly allocated sequence.
* e-corba-shortcuts.c (shortcut_list_to_corba): Set the release flag for the newly allocated sequence. * e-activity-handler.c (impl_operationStarted): Unref the icon_pixbuf. * e-task-widget.c (impl_destroy): g_free the private struct. svn path=/trunk/; revision=11778
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog10
-rw-r--r--shell/e-activity-handler.c2
-rw-r--r--shell/e-corba-shortcuts.c2
-rw-r--r--shell/e-task-widget.c2
4 files changed, 16 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 76fb451b01..e63198bb76 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,13 @@
+2001-08-08 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-corba-shortcuts.c (shortcut_list_to_corba): Set the release
+ flag for the newly allocated sequence.
+
+ * e-activity-handler.c (impl_operationStarted): Unref the
+ icon_pixbuf.
+
+ * e-task-widget.c (impl_destroy): g_free the private struct.
+
2001-08-08 Jason Leach <jleach@ximian.com>
* e-storage-set-view.c (etree_icon_at): Set the My Evolution icon
diff --git a/shell/e-activity-handler.c b/shell/e-activity-handler.c
index 0c5c028248..47e0c88728 100644
--- a/shell/e-activity-handler.c
+++ b/shell/e-activity-handler.c
@@ -406,6 +406,8 @@ impl_operationStarted (PortableServer_Servant servant,
e_task_bar_prepend_task (E_TASK_BAR (p->data),
task_widget_new_from_activity_info (activity_info));
+ gdk_pixbuf_unref (icon_pixbuf);
+
priv->activity_infos = g_list_prepend (priv->activity_infos, activity_info);
*activity_id_return = activity_id;
diff --git a/shell/e-corba-shortcuts.c b/shell/e-corba-shortcuts.c
index 20458f587a..5a834cb6c6 100644
--- a/shell/e-corba-shortcuts.c
+++ b/shell/e-corba-shortcuts.c
@@ -79,6 +79,8 @@ shortcut_list_to_corba (const GSList *shortcut_list,
buffer[i].name = CORBA_string_dup (e_safe_corba_string (item->name));
buffer[i].type = CORBA_string_dup (e_safe_corba_string (item->type));
}
+
+ CORBA_sequence_set_release (buffer, TRUE);
}
diff --git a/shell/e-task-widget.c b/shell/e-task-widget.c
index 3cd2d319b2..22ffecad4d 100644
--- a/shell/e-task-widget.c
+++ b/shell/e-task-widget.c
@@ -63,6 +63,8 @@ impl_destroy (GtkObject *object)
gdk_pixbuf_unref (priv->icon_pixbuf);
+ g_free (priv);
+
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}