[gtk+/gtk-3-22] notebook: Make a code snippet compile



commit a65ae5fb402418032de593ae6b5443db51d8c4ce
Author: Timm Bäder <mail baedert org>
Date:   Wed Jan 3 14:01:38 2018 +0100

    notebook: Make a code snippet compile

 gtk/gtknotebook.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 747dbd7..397fdb7 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -7949,7 +7949,8 @@ gtk_notebook_get_tab_detachable (GtkNotebook *notebook,
  *    notebook = gtk_drag_get_source_widget (context);
  *    child = (void*) gtk_selection_data_get_data (data);
  *
- *    process_widget (*child);
+ *    // process_widget (*child);
+ *
  *    gtk_notebook_detach_tab (GTK_NOTEBOOK (notebook), *child);
  *  }
  * ]|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]