fix leaks
2007-07-08 Jens Granseuer <jensgr@gmx.net> * appearance-desktop.c: (wp_view_tooltip_cb): fix leaks svn path=/trunk/; revision=7834
This commit is contained in:
parent
fa41845299
commit
04d06f42d6
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-07-08 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* appearance-desktop.c: (wp_view_tooltip_cb): fix leaks
|
||||
|
||||
2007-07-05 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* appearance-themes.c: (themes_init):
|
||||
|
|
|
@ -739,9 +739,9 @@ wp_view_tooltip_cb (GtkWidget *widget,
|
|||
|
||||
gtk_tree_model_get (data->wp_model, &iter, 2, &wpfile, -1);
|
||||
item = g_hash_table_lookup (data->wp_hash, wpfile);
|
||||
g_free (wpfile);
|
||||
|
||||
gtk_tooltip_set_markup (tooltip,
|
||||
g_strdup_printf ("%s", item->description));
|
||||
gtk_tooltip_set_markup (tooltip, item->description);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue