[gtk+/wip/baedert/progressbar: 2/6] gtkmain: Fix code example
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/progressbar: 2/6] gtkmain: Fix code example
- Date: Tue, 25 Apr 2017 15:27:15 +0000 (UTC)
commit 088897c7bc2b29c31c94cf1a7f490936b75296ec
Author: Timm Bäder <mail baedert org>
Date: Tue Apr 25 15:22:52 2017 +0200
gtkmain: Fix code example
gtk_init doesn't take parameters anymore
gtk/gtkmain.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 045480c..b145f00 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]