summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-04-25 15:22:52 +0200
committerTimm Bäder <mail@baedert.org>2017-04-25 20:30:37 +0200
commit6b12e3948e517c99ec0088961e193ba5297e2929 (patch)
treeddc047ead559bd8c913c50a2e21ed4defe6bcff6
parent29f7bde0233ff1b73f030fa70c5eb9d9d1fde5ed (diff)
downloadgtk+-6b12e3948e517c99ec0088961e193ba5297e2929.tar.gz
gtkmain: Fix code example
gtk_init doesn't take parameters anymore
-rw-r--r--gtk/gtkmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 045480c26b..b145f0063d 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -64,7 +64,7 @@
* ...
*
* // Initialize the widget set
- * gtk_init (&argc, &argv);
+ * gtk_init ();
*
* // Create the main window
* mainwin = gtk_window_new (GTK_WINDOW_TOPLEVEL);