Commit 6f4f43e7 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

plugged another small memory leak.

2008-07-21  Sven Neumann  <sven@gimp.org>

        * app/actions/windows-actions.c (windows_actions_dock_notify):
        plugged another small memory leak.


svn path=/trunk/; revision=26259
parent d0baa3c3
2008-07-21 Sven Neumann <sven@gimp.org>
* app/actions/windows-actions.c (windows_actions_dock_notify):
plugged another small memory leak.
2008-07-21 Sven Neumann <sven@gimp.org>
* app/menus/file-menu.c (file_menu_open_recent_query_tooltip):
......
......@@ -321,9 +321,11 @@ windows_actions_dock_notify (GimpDock *dock,
GimpActionGroup *group)
{
GtkAction *action;
gchar *action_name = g_strdup_printf ("windows-dock-%04d", dock->ID);
gchar *action_name;
action_name = g_strdup_printf ("windows-dock-%04d", dock->ID);
action = gtk_action_group_get_action (GTK_ACTION_GROUP (group), action_name);
g_free (action_name);
if (action)
g_object_set (action,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment