Refactoring: retrieve the VikWindow from the VikViewport via its GtkWidget nature
commit24277274ec1fa46110aa6a51c9cc1b4d488f77c4
authorGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Mon, 3 Sep 2007 16:58:41 +0000 (3 16:58 +0000)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Mon, 3 Sep 2007 16:58:41 +0000 (3 16:58 +0000)
tree41493fc8bc7ec84da164315bb60b1b69a44165ea
parent6372688146edbb5acef9d8b7b21d95f8d69044fa
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.
ChangeLog
src/vikviewport.c
src/vikwindow.c
src/vikwindow.h