mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
Free name of old theme when new theme is loaded.
* src/core/prefs.c: Free name of old theme when new theme is loaded. svn path=/trunk/; revision=4094
This commit is contained in:
parent
1381f6d5f2
commit
69ae9e4a9d
@ -1,3 +1,8 @@
|
|||||||
|
2009-01-27 Matthias Claesen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* src/core/prefs.c: Free name of old theme when new theme
|
||||||
|
is loaded.
|
||||||
|
|
||||||
2009-01-27 Matthias Claesen <mclasen@redhat.com>
|
2009-01-27 Matthias Claesen <mclasen@redhat.com>
|
||||||
|
|
||||||
* src/ui/ui.c: free the result of gdk_text_property_to_utf8_list()
|
* src/ui/ui.c: free the result of gdk_text_property_to_utf8_list()
|
||||||
|
@ -1333,6 +1333,8 @@ theme_name_handler (MetaPreference pref,
|
|||||||
const gchar *string_value,
|
const gchar *string_value,
|
||||||
gboolean *inform_listeners)
|
gboolean *inform_listeners)
|
||||||
{
|
{
|
||||||
|
g_free (current_theme);
|
||||||
|
|
||||||
/* Fallback crackrock */
|
/* Fallback crackrock */
|
||||||
if (string_value == NULL)
|
if (string_value == NULL)
|
||||||
current_theme = g_strdup ("Atlanta");
|
current_theme = g_strdup ("Atlanta");
|
||||||
|
Loading…
Reference in New Issue
Block a user