From c7f699736148535253b92ec7f3dd256a905b53d9 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Tue, 11 Sep 2012 16:55:13 +0200 Subject: [PATCH] Don't access GtkNotebook fields directly --- src/notebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notebook.c b/src/notebook.c index d8ad82f3..2931520f 100644 --- a/src/notebook.c +++ b/src/notebook.c @@ -312,7 +312,7 @@ static gboolean focus_sci(GtkWidget *widget, GdkEventButton *event, gpointer use static gboolean gtk_notebook_show_arrows(GtkNotebook *notebook) { - return notebook->scrollable; + return gtk_notebook_get_scrollable(notebook); #if 0 /* To get this working we would need to define at least the first two fields of * GtkNotebookPage since it is a private field. The better way would be to