Refactoring: retrieve the VikWindow from the VikViewport via its GtkWidget nature
commitc54110683e214c358ce13956b8829bc8d7e9f363
authorguyou <guyou@02d69b8e-d120-0410-893f-fe71a3b6e39e>
Mon, 3 Sep 2007 16:58:41 +0000 (3 16:58 +0000)
committerguyou <guyou@02d69b8e-d120-0410-893f-fe71a3b6e39e>
Mon, 3 Sep 2007 16:58:41 +0000 (3 16:58 +0000)
tree41493fc8bc7ec84da164315bb60b1b69a44165ea
parentf969e7cf2e0ca9e221ec3b7735bd016dd590ca9d
Refactoring: retrieve the VikWindow from the VikViewport via its GtkWidget nature

Instead of storing one more reference in the VikVewport structure,
we use the fact that VikWindow is the top level window. So, it is possible
to retrieve it from any of its children. And, hopefully, VikViewport
is also a GtkWidget, child of the main window.

git-svn-id: https://viking.svn.sourceforge.net/svnroot/viking/trunk@420 02d69b8e-d120-0410-893f-fe71a3b6e39e
ChangeLog
src/vikviewport.c
src/vikwindow.c
src/vikwindow.h