[glib] g_application_add_main_option: fix type signature
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] g_application_add_main_option: fix type signature
- Date: Tue, 16 Sep 2014 21:51:44 +0000 (UTC)
commit 84ec6b4d78928d4b51d64f17b4bde56314e75b1b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Sep 16 15:39:41 2014 -0600
g_application_add_main_option: fix type signature
The flags argument is a GOptionFlags so use that type instead of 'int'.
gio/gapplication.c | 2 +-
gio/gapplication.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index baca6aa..4d5dc0d 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -698,7 +698,7 @@ void
g_application_add_main_option (GApplication *application,
const char *long_name,
char short_name,
- gint flags,
+ GOptionFlags flags,
GOptionArg arg,
const char *description,
const char *arg_description)
diff --git a/gio/gapplication.h b/gio/gapplication.h
index eac1bbb..dbac2a9 100644
--- a/gio/gapplication.h
+++ b/gio/gapplication.h
@@ -173,7 +173,7 @@ GLIB_AVAILABLE_IN_2_42
void g_application_add_main_option (GApplication
*application,
const char *long_name,
char
short_name,
- gint flags,
+ GOptionFlags flags,
GOptionArg arg,
const char
*description,
const char
*arg_description);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]