summaryrefslogtreecommitdiff
path: root/examples/glib-print.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-08-31 17:33:06 -0300
committerJohan Dahlin <johan@gnome.org>2010-08-31 17:35:57 -0300
commit6379b8a497e2bf8c5b09e37ded88c7a28483389d (patch)
treeaf51d195834f33251e1f5dcdcba8c2936f833f28 /examples/glib-print.c
parent8ebf89911bcf93baea4d5d9e22b0e40d0c43f946 (diff)
downloadgobject-introspection-6379b8a497e2bf8c5b09e37ded88c7a28483389d.tar.gz
[GIRepository] Rename GArgument to GIArgument
Keep a typedef for backwards compatibility, until the major bindings has moved over.
Diffstat (limited to 'examples/glib-print.c')
-rw-r--r--examples/glib-print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/glib-print.c b/examples/glib-print.c
index 7f99ed15..f187f76c 100644
--- a/examples/glib-print.c
+++ b/examples/glib-print.c
@@ -5,8 +5,8 @@ int main(void)
GIRepository *repository;
GError *error = NULL;
GIBaseInfo *base_info;
- GArgument in_args[5];
- GArgument retval;
+ GIArgument in_args[5];
+ GIArgument retval;
g_type_init();
@@ -30,7 +30,7 @@ int main(void)
in_args[4].v_pointer = "hello world";
if (!g_function_info_invoke ((GIFunctionInfo *)base_info,
- (const GArgument*)&in_args,
+ (const GIArgument*)&in_args,
5,
NULL,
0,