Don't use the notebook page widget for tab popup
commit6e58ef3755e1d69c4edf3300ac17ae34413b8545
authorColomban Wendling <ban@herbesfolles.org>
Mon, 26 May 2014 14:21:16 +0000 (26 16:21 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Mon, 26 May 2014 14:21:16 +0000 (26 16:21 +0200)
tree43c995e6f79a025fb4590fb3c97ddc96ace27b56
parent54724ee2ad4a67eb394aa55a29327da1689d394b
Don't use the notebook page widget for tab popup

Directly use the GeanyDocument rather than pass the notebook page
widget and get the document from that.  This makes the code more future
proof and less weird.
src/callbacks.c
src/notebook.c