Move the call to g_free (cursor_font) outside of the conditional so it
2005-08-24 Kjartan Maraas <kmaraas@gnome.org> * gnome-mouse-properties.c: (cursor_changed): Move the call to g_free (cursor_font) outside of the conditional so it gets free'd in both cases.
This commit is contained in:
parent
4307dfb624
commit
4583778397
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-08-24 Kjartan Maraas <kmaraas@gnome.org>
|
||||||
|
|
||||||
|
* gnome-mouse-properties.c: (cursor_changed): Move the call to
|
||||||
|
g_free (cursor_font) outside of the conditional so it gets free'd
|
||||||
|
in both cases.
|
||||||
|
|
||||||
2005-08-01 Sebastien Bacher <seb128@debian.org>
|
2005-08-01 Sebastien Bacher <seb128@debian.org>
|
||||||
|
|
||||||
* gnome-mouse-properties.c: (cursor_theme_changed): no need to allocate
|
* gnome-mouse-properties.c: (cursor_theme_changed): no need to allocate
|
||||||
|
|
|
@ -587,8 +587,8 @@ cursor_changed (GtkTreeSelection *selection,
|
||||||
#else
|
#else
|
||||||
gconf_client_set_string (client,
|
gconf_client_set_string (client,
|
||||||
CURSOR_FONT_KEY, cursor_font, NULL);
|
CURSOR_FONT_KEY, cursor_font, NULL);
|
||||||
g_free (cursor_font);
|
|
||||||
#endif
|
#endif
|
||||||
|
g_free (cursor_font);
|
||||||
} else {
|
} else {
|
||||||
#ifdef HAVE_XCURSOR
|
#ifdef HAVE_XCURSOR
|
||||||
gconf_client_unset (client,
|
gconf_client_unset (client,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue