[gtk+/gtk-3-22] accellabel: Fix code snippet
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] accellabel: Fix code snippet
- Date: Wed, 11 Oct 2017 21:19:35 +0000 (UTC)
commit 7525a11a30b728bafcfa8ea2773ee1870aa7ca9e
Author: Timm Bäder <mail baedert org>
Date: Wed Oct 11 12:56:42 2017 +0200
accellabel: Fix code snippet
gtk/gtkaccellabel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index 099829e..0e2c50b 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -74,6 +74,8 @@
* ## Creating a simple menu item with an accelerator key.
*
* |[<!-- language="C" -->
+ * GtkWidget *window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ * GtkWidget *menu = gtk_menu_new ();
* GtkWidget *save_item;
* GtkAccelGroup *accel_group;
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]