]> git.tdb.fi Git - ext/subsurface.git/commit
Fix drag and drop error
authorDirk Hohndel <dirk@hohndel.org>
Wed, 2 Nov 2011 21:35:47 +0000 (14:35 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Wed, 2 Nov 2011 21:35:47 +0000 (14:35 -0700)
commitf89aec94e268dad1305789bbc9d17864f19c833b
tree3cb300e4d9a71df22b4e28411ce73970bb109842
parent55352a051cfa7ac519e397cd3d18851e5050517b
Fix drag and drop error

Linus noted an odd "CRITICAL" warning when ripping off a page of the
notebook and then dropping it within the same notebook.

Turns out we need to simply accept a drop on ourselves and gtk does the
rest correctly.

I also fixed the fact that we incorrectly declared the callback as 'void'.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
gtk-gui.c