summaryrefslogtreecommitdiff
path: root/girepository
diff options
context:
space:
mode:
Diffstat (limited to 'girepository')
-rw-r--r--girepository/girparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/girepository/girparser.c b/girepository/girparser.c
index f96cfb1e..6fbf2a6b 100644
--- a/girepository/girparser.c
+++ b/girepository/girparser.c
@@ -2301,9 +2301,9 @@ start_glib_signal (GMarkupParseContext *context,
signal->run_first = FALSE;
signal->run_last = FALSE;
signal->run_cleanup = FALSE;
- if (when == NULL || strcmp (when, "LAST") == 0)
+ if (when == NULL || g_ascii_strcasecmp (when, "LAST") == 0)
signal->run_last = TRUE;
- else if (strcmp (when, "FIRST") == 0)
+ else if (g_ascii_strcasecmp (when, "FIRST") == 0)
signal->run_first = TRUE;
else
signal->run_cleanup = TRUE;