diff options
author | Reuben Thomas <rrt@sc3d.org> | 2022-04-12 10:06:46 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2022-04-16 21:52:19 +0100 |
commit | 5913e31256f0560cf9937a1496039fae1e141b03 (patch) | |
tree | 57bc1a26139049dc5bb3822557742847891e6859 | |
parent | 4d8881a69a8fa16fe4d8e2c24c4d9dc0ae1e0289 (diff) | |
download | gobject-introspection-5913e31256f0560cf9937a1496039fae1e141b03.tar.gz |
examples: fix typo in error message
In glib-print.c example, make the error message refer to the same function
(GLib.assertion_message) as the code.
-rw-r--r-- | examples/girepository/glib-print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/girepository/glib-print.c b/examples/girepository/glib-print.c index 595ae48b..62b568bf 100644 --- a/examples/girepository/glib-print.c +++ b/examples/girepository/glib-print.c @@ -20,7 +20,7 @@ main (void) base_info = g_irepository_find_by_name (repository, "GLib", "assertion_message"); if (!base_info) { - g_error ("ERROR: %s\n", "Could not find GLib.warn_message"); + g_error ("ERROR: %s\n", "Could not find GLib.assertion_message"); return 1; } |