[gtk+] gtkmain: Fix code example



commit 6b12e3948e517c99ec0088961e193ba5297e2929
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]