summaryrefslogtreecommitdiff
path: root/girepository/girparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'girepository/girparser.c')
-rw-r--r--girepository/girparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/girepository/girparser.c b/girepository/girparser.c
index eb61e34a..4c43e0ae 100644
--- a/girepository/girparser.c
+++ b/girepository/girparser.c
@@ -1066,9 +1066,9 @@ start_instance_parameter (GMarkupParseContext *context,
state_switch (ctx, STATE_PASSTHROUGH);
- if (strcmp (transfer, "full") == 0)
+ if (g_strcmp0 (transfer, "full") == 0)
transfer_full = TRUE;
- else if (strcmp (transfer, "none") == 0)
+ else if (g_strcmp0 (transfer, "none") == 0)
transfer_full = FALSE;
else
{