[geany/geany] c7f699: Don't access GtkNotebook fields directly

Colomban Wendling git-noreply at xxxxx
Thu Sep 13 14:34:18 UTC 2012


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Thu, 13 Sep 2012 14:34:18
Commit:      c7f699736148535253b92ec7f3dd256a905b53d9
             https://github.com/geany/geany/commit/c7f699736148535253b92ec7f3dd256a905b53d9

Log Message:
-----------
Don't access GtkNotebook fields directly


Modified Paths:
--------------
    src/notebook.c

Modified: src/notebook.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list