forked from AuroraMiddleware/gtk
Plug a mem leak
The filechooser was leaking tooltips. Reported in bug bug 593080.
This commit is contained in:
parent
c51830f453
commit
a2420c7db5
@ -4892,6 +4892,7 @@ save_folder_update_tooltip (GtkComboBox *combo,
|
|||||||
gtk_widget_set_tooltip_text (GTK_WIDGET (combo), tooltip);
|
gtk_widget_set_tooltip_text (GTK_WIDGET (combo), tooltip);
|
||||||
gtk_widget_set_has_tooltip (GTK_WIDGET (combo),
|
gtk_widget_set_has_tooltip (GTK_WIDGET (combo),
|
||||||
gtk_widget_get_sensitive (GTK_WIDGET (combo)));
|
gtk_widget_get_sensitive (GTK_WIDGET (combo)));
|
||||||
|
g_free (tooltip);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Filter function used to filter out the Search item and its separator.
|
/* Filter function used to filter out the Search item and its separator.
|
||||||
|
Loading…
Reference in New Issue
Block a user