summaryrefslogtreecommitdiff
path: root/xfconfd
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2010-02-02 17:21:13 +0100
committerNick Schermer <nick@xfce.org>2010-02-02 17:21:13 +0100
commit78136f59da5ffb1337a2c5a4b2649f12d00947a5 (patch)
treeb5b8dce38cdfb997b1d97f0a92695e5c0994c49b /xfconfd
parent262bf1158d9929d4ccd61699503ae5cf0daf239d (diff)
downloadxfconf-78136f59da5ffb1337a2c5a4b2649f12d00947a5.tar.gz
Use g_strsplit instead of g_strsplit_set.
Because we only use 1 delimiter, g_strsplit is a better option. It is also faster internally with is nice because xfconf_proptree_lookup_node() is the most called function in xfconfd.
Diffstat (limited to 'xfconfd')
-rw-r--r--xfconfd/xfconf-backend-perchannel-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfconfd/xfconf-backend-perchannel-xml.c b/xfconfd/xfconf-backend-perchannel-xml.c
index f45f0f9..9bd091d 100644
--- a/xfconfd/xfconf-backend-perchannel-xml.c
+++ b/xfconfd/xfconf-backend-perchannel-xml.c
@@ -796,7 +796,7 @@ xfconf_proptree_lookup_node(GNode *proptree,
g_return_val_if_fail(PROP_NAME_IS_VALID(name), NULL);
- parts = g_strsplit_set(name+1, "/", -1);
+ parts = g_strsplit(name+1, "/", -1);
parent = proptree;
for(i = 0; parts[i]; ++i) {