Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GNOME
GIMP
Commits
865a1f48
Commit
865a1f48
authored
Jun 22, 2010
by
Michael Natterer
😴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app: free the string returned by gimp_dock_window_get_description()
parent
94e757df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
app/widgets/gimpdockwindow.c
app/widgets/gimpdockwindow.c
+5
-2
No files found.
app/widgets/gimpdockwindow.c
View file @
865a1f48
...
...
@@ -736,8 +736,11 @@ gimp_dock_window_update_title_idle (GimpDockWindow *dock_window)
{
gchar
*
desc
=
gimp_dock_window_get_description
(
dock_window
,
FALSE
/*complete*/
);
if
(
desc
!=
NULL
)
gtk_window_set_title
(
GTK_WINDOW
(
dock_window
),
desc
);
if
(
desc
)
{
gtk_window_set_title
(
GTK_WINDOW
(
dock_window
),
desc
);
g_free
(
desc
);
}
dock_window
->
p
->
update_title_idle_id
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment