gimp r26258 - in trunk: . app/menus
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26258 - in trunk: . app/menus
- Date: Mon, 21 Jul 2008 19:02:30 +0000 (UTC)
Author: neo
Date: Mon Jul 21 19:02:30 2008
New Revision: 26258
URL: http://svn.gnome.org/viewvc/gimp?rev=26258&view=rev
Log:
2008-07-21 Sven Neumann <sven gimp org>
* app/menus/file-menu.c (file_menu_open_recent_query_tooltip):
plugged a small memory leak.
Modified:
trunk/ChangeLog
trunk/app/menus/file-menu.c
Modified: trunk/app/menus/file-menu.c
==============================================================================
--- trunk/app/menus/file-menu.c (original)
+++ trunk/app/menus/file-menu.c Mon Jul 21 19:02:30 2008
@@ -105,7 +105,12 @@
GtkTooltip *tooltip,
GimpAction *action)
{
- gtk_tooltip_set_text (tooltip, gtk_widget_get_tooltip_text (widget));
+ gchar *text;
+
+ text = gtk_widget_get_tooltip_text (widget);
+ gtk_tooltip_set_text (tooltip, text);
+ g_free (text);
+
gtk_tooltip_set_icon (tooltip,
gimp_viewable_get_pixbuf (action->viewable,
action->context,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]