Remove widget reparenting in Split Window plugin
commite8b724ca05c2c0853434c57c780d21dd430189db
authorColomban Wendling <ban@herbesfolles.org>
Mon, 9 May 2011 13:21:45 +0000 (9 13:21 +0000)
committerColomban Wendling <ban@herbesfolles.org>
Mon, 9 May 2011 13:21:45 +0000 (9 13:21 +0000)
treecc46d97e292e103d123ab565af212c094aafbed4
parent80e69496107185d098eefadddca3ca9f5d7807b1
Remove widget reparenting in Split Window plugin

Instead of reparenting the documents notebook full of
ScintillaObjects, just ref it, remove it from the old parent, add
it to the new parent, and then unref it.  This fixes the display
issue on Windows and seems to have no issues on Linux.

Patch by Matthew Brush, thanks.
Closes #2725342.

Re-apply this patch now the X PRIMARY selection bug is fixed in
Scintilla's side (see r5692).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5774 ea778897-0a13-0410-b9d1-a72fbfd435f5
ChangeLog
plugins/splitwindow.c