From e9a77a153501dd5f1ecf1726f23afac0229eed61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 16 Dec 2010 00:16:00 +0000 Subject: [PATCH] docs: gtknotebook.c: Use accessor functions to access GtkSelectionData --- gtk/gtknotebook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 8c4de6577f..df0383d78f 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); * }