[network-manager-netbook] Don't unref icon theme when it changes.
- From: Tambet Ingo <tambeti src gnome org>
- To: svn-commits-list gnome org
- Subject: [network-manager-netbook] Don't unref icon theme when it changes.
- Date: Thu, 28 May 2009 03:33:08 -0400 (EDT)
commit fecab107238c0fb08321718b1d513d413c93a7ae
Author: Tambet Ingo <tambet gmail com>
Date: Thu May 28 10:32:04 2009 +0300
Don't unref icon theme when it changes.
Fixes a crash on startup when the icon theme is changed.
---
src/nmn-icon-cache.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/nmn-icon-cache.c b/src/nmn-icon-cache.c
index 6f6baf0..5e019fa 100644
--- a/src/nmn-icon-cache.c
+++ b/src/nmn-icon-cache.c
@@ -14,10 +14,8 @@ nmn_icon_cache_invalidate (void)
cache = NULL;
}
- if (icon_theme) {
- g_object_unref (icon_theme);
+ if (icon_theme)
icon_theme = NULL;
- }
}
GdkPixbuf *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]