summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-03-27 13:29:30 +0100
committerEdward Hervey <bilboed@bilboed.com>2010-03-27 13:29:30 +0100
commit5637897cb441a4579b2f2319f9abe48482b77767 (patch)
treeca7b408d1763b3ec076e96f9e595d3e83d7a3185
parent21d204e9da6b87fb7d628a6069f9d8cac4707307 (diff)
GParam: Find the delimitor on the interned stringwork
-rw-r--r--gobject/gparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/gparam.c b/gobject/gparam.c
index aa24c72c7..839625727 100644
--- a/gobject/gparam.c
+++ b/gobject/gparam.c
@@ -1033,8 +1033,8 @@ g_param_spec_pool_lookup (GParamSpecPool *pool,
G_SLOCK (&pool->smutex);
- delim = pool->type_prefixing ? strchr (param_name, ':') : NULL;
param_name = intern_param_name (param_name);
+ delim = pool->type_prefixing ? strchr (param_name, ':') : NULL;
/* try quick and away, i.e. without prefix */
if (!delim)