diff options
author | raveit65 <[email protected]> | 2017-05-12 14:30:59 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-05-13 00:16:44 +0200 |
commit | 54992c3d01bd58baa33320c96446c13c55329814 (patch) | |
tree | 12e98b414c4034e5a78acfaaf2c37e130dac27dd | |
parent | 6b766e9dcff426f59a7a6ce72ec4b6436a199b96 (diff) | |
download | pluma-54992c3d01bd58baa33320c96446c13c55329814.tar.bz2 pluma-54992c3d01bd58baa33320c96446c13c55329814.tar.xz |
pluma-notebook.c: fix a build warning
-rw-r--r-- | pluma/pluma-notebook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pluma/pluma-notebook.c b/pluma/pluma-notebook.c index 591b6220..b8dade78 100644 --- a/pluma/pluma-notebook.c +++ b/pluma/pluma-notebook.c @@ -640,12 +640,12 @@ button_press_cb (PlumaNotebook *notebook, { if (event->type == GDK_BUTTON_PRESS) { - tab1click = gtk_notebook_get_current_page (notebook); + tab1click = gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook)); newfile = (tab_clicked == -1); } else if (event->type == GDK_2BUTTON_PRESS) { - if ((tab1click != gtk_notebook_get_current_page (notebook)) || + if ((tab1click != gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook))) || (tab_clicked >= 0) || ((tab_clicked == -1) && (!newfile))) return TRUE; |