Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't access GtkNotebook fields directly

  • Loading branch information...
commit c7f699736148535253b92ec7f3dd256a905b53d9 1 parent 2d878c8
@b4n b4n authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/notebook.c
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.