diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-04-18 04:00:39 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-04-18 04:00:39 +0800 |
commit | d89c3d0a9c4ea8fc31cc7f980df48669511ccca3 (patch) | |
tree | 8f167018383c7427ddfd72abc27d03e9ca6764c2 /mail/folder-browser.c | |
parent | 822505f93b2211eb209c7644156858b7bc83ef50 (diff) | |
download | gsoc2013-evolution-d89c3d0a9c4ea8fc31cc7f980df48669511ccca3.tar gsoc2013-evolution-d89c3d0a9c4ea8fc31cc7f980df48669511ccca3.tar.gz gsoc2013-evolution-d89c3d0a9c4ea8fc31cc7f980df48669511ccca3.tar.bz2 gsoc2013-evolution-d89c3d0a9c4ea8fc31cc7f980df48669511ccca3.tar.lz gsoc2013-evolution-d89c3d0a9c4ea8fc31cc7f980df48669511ccca3.tar.xz gsoc2013-evolution-d89c3d0a9c4ea8fc31cc7f980df48669511ccca3.tar.zst gsoc2013-evolution-d89c3d0a9c4ea8fc31cc7f980df48669511ccca3.zip |
Just use g_basename. (mlf_finalize): Free the real_path.
2002-04-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-local.c (mail_local_folder_construct): Just use g_basename.
(mlf_finalize): Free the real_path.
* folder-browser.c (on_right_click): Unref the GdkGC so we don't
leak it.
svn path=/trunk/; revision=16493
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 6d653b99eb..45e02ea8ed 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1950,6 +1950,7 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event gc = gdk_gc_new (GTK_WIDGET (fb)->window); gdk_gc_set_foreground (gc, &color); gdk_draw_rectangle (pixmap, gc, TRUE, 0, 0, 16, 16); + gdk_gc_unref (gc); closure = g_new (struct _colour_data, 1); gtk_object_ref (GTK_OBJECT (fb)); |