summaryrefslogtreecommitdiff
path: root/devel/gconf2/files/patch-gconf_gconf-client.c
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2009-05-16 21:46:02 +0000
committerKoop Mast <kwm@FreeBSD.org>2009-05-16 21:46:02 +0000
commit1b0f47374d9c0e318cd64ccf953c375ca0c68fab (patch)
tree9db3a570d45f874950d4b5d11e49cbc1673b4e27 /devel/gconf2/files/patch-gconf_gconf-client.c
parentUpdate to 0.11. (diff)
Update to 2.26.2.
Diffstat (limited to 'devel/gconf2/files/patch-gconf_gconf-client.c')
-rw-r--r--devel/gconf2/files/patch-gconf_gconf-client.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/gconf2/files/patch-gconf_gconf-client.c b/devel/gconf2/files/patch-gconf_gconf-client.c
deleted file mode 100644
index 69f1956da438..000000000000
--- a/devel/gconf2/files/patch-gconf_gconf-client.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- gconf/gconf-client.c.orig 2009-05-10 15:54:11.000000000 -0400
-+++ gconf/gconf-client.c 2009-05-10 15:55:22.000000000 -0400
-@@ -1199,10 +1199,11 @@ gconf_client_key_is_writable (GConfClien
-
- if (gconf_client_lookup (client, key, &entry))
- {
-- g_assert (entry != NULL);
--
-- trace ("CACHED: Checking whether key '%s' is writable", key);
-- return gconf_entry_get_is_writable (entry);
-+ if (entry != NULL)
-+ {
-+ trace ("CACHED: Checking whether key '%s' is writable", key);
-+ return gconf_entry_get_is_writable (entry);
-+ }
- }
-
- trace ("REMOTE: Checking whether key '%s' is writable", key);
-@@ -1406,9 +1407,7 @@ gconf_client_get_default_from_schema (GC
- */
- if (gconf_client_lookup (client, key, &entry))
- {
-- g_assert (entry != NULL);
--
-- if (gconf_entry_get_is_default (entry))
-+ if (entry != NULL && gconf_entry_get_is_default (entry))
- {
- trace ("CACHED: Getting schema default for '%s'", key);
-