[gtk+] docs: gtknotebook.c: Use accessor functions to access GtkSelectionData
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: gtknotebook.c: Use accessor functions to access GtkSelectionData
- Date: Thu, 16 Dec 2010 00:16:38 +0000 (UTC)
commit e9a77a153501dd5f1ecf1726f23afac0229eed61
Author: Javier Jardón <jjardon gnome org>
Date: Thu Dec 16 00:16:00 2010 +0000
docs: gtknotebook.c: Use accessor functions to access GtkSelectionData
gtk/gtknotebook.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 8c4de65..df0383d 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -8116,8 +8116,8 @@ gtk_notebook_get_tab_detachable (GtkNotebook *notebook,
* GtkWidget **child;
*
* notebook = gtk_drag_get_source_widget (context);
- * child = (void*) selection_data->data;
- *
+ * child = (void*) gtk_selection_data_get_data (selection_data);
+ *
* process_widget (*child);
* gtk_container_remove (GTK_CONTAINER (notebook), *child);
* }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]