[yelp] [yelp-settings] Don't free searchpath when we're still using it
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] [yelp-settings] Don't free searchpath when we're still using it
- Date: Thu, 1 Apr 2010 14:49:25 +0000 (UTC)
commit a331db79b88d92ff3e2eeaa1b46a9007a25ce6d2
Author: Shaun McCance <shaunm gnome org>
Date: Thu Apr 1 09:48:56 2010 -0500
[yelp-settings] Don't free searchpath when we're still using it
libyelp/yelp-settings.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libyelp/yelp-settings.c b/libyelp/yelp-settings.c
index 91c590a..29e5948 100644
--- a/libyelp/yelp-settings.c
+++ b/libyelp/yelp-settings.c
@@ -321,7 +321,6 @@ yelp_settings_set_property (GObject *object,
append_search_path = FALSE;
break;
}
- g_strfreev (search_path);
if (append_search_path)
gtk_icon_theme_append_search_path (settings->priv->gtk_icon_theme,
YELP_ICON_PATH);
@@ -334,6 +333,7 @@ yelp_settings_set_property (GObject *object,
if (append_search_path)
gtk_icon_theme_append_search_path (settings->priv->gtk_icon_theme,
DATADIR"/yelp/icons");
+ g_strfreev (search_path);
g_object_ref (settings->priv->gtk_icon_theme);
settings->priv->icon_theme_changed =
g_signal_connect (settings->priv->gtk_icon_theme,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]