From a0c044b5c65500080c15e2c5e315bf87487e63b7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 6 Jun 2010 16:42:06 -0400 Subject: [PATCH 1/1] Make g_assertion_message_error take a const GError* This was requested in bug 620265. --- glib/gtestutils.c | 2 +- glib/gtestutils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glib/gtestutils.c b/glib/gtestutils.c index a21c3e5..db2be7b 100644 --- a/glib/gtestutils.c +++ b/glib/gtestutils.c @@ -1390,7 +1390,7 @@ g_assertion_message_error (const char *domain, int line, const char *func, const char *expr, - GError *error, + const GError *error, GQuark error_domain, int error_code) { diff --git a/glib/gtestutils.h b/glib/gtestutils.h index fdcc24a..bfdf8cc 100644 --- a/glib/gtestutils.h +++ b/glib/gtestutils.h @@ -211,7 +211,7 @@ void g_assertion_message_error (const char *domain, int line, const char *func, const char *expr, - GError *error, + const GError *error, GQuark error_domain, int error_code) G_GNUC_NORETURN; void g_test_add_vtable (const char *testpath, -- 2.7.4