[gtksourceviewmm] generate_extra_defs: Adapt to changed gtk_init() API.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm] generate_extra_defs: Adapt to changed gtk_init() API.
- Date: Fri, 31 Mar 2017 09:53:15 +0000 (UTC)
commit aea0c00fc22bfb2a76ec7da9ba6d0c98ae582ba5
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Mar 31 11:53:03 2017 +0200
generate_extra_defs: Adapt to changed gtk_init() API.
.../extradefs/generate_extra_defs_gtksourceview.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/codegen/extradefs/generate_extra_defs_gtksourceview.cc
b/codegen/extradefs/generate_extra_defs_gtksourceview.cc
index db4b5ab..3bc80d6 100644
--- a/codegen/extradefs/generate_extra_defs_gtksourceview.cc
+++ b/codegen/extradefs/generate_extra_defs_gtksourceview.cc
@@ -23,9 +23,9 @@
#include <gtksourceview/gtksource.h>
#include <gtksourceview/completion-providers/words/gtksourcecompletionwords.h>
-int main (int argc, char *argv[])
+int main ()
{
- gtk_init(&argc, &argv);
+ gtk_init();
std::cout << get_defs (GTK_SOURCE_TYPE_BUFFER)
<< get_defs (GTK_SOURCE_TYPE_COMPLETION)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]