Move g_signal_connects to realize callback
authorAndy Spencer <andy753421@gmail.com>
Thu, 18 Nov 2010 06:35:21 +0000 (06:35 +0000)
committerAndy Spencer <andy753421@gmail.com>
Thu, 18 Nov 2010 06:35:21 +0000 (06:35 +0000)
commit9346458e724fcd3a7f81551910ac6a3c9a7fdbb9
tree8c8feb4d229010bed579cb82205882f333b26427
parent22408daaad6f0c7b4075c2b0a725802b0659cfbe
Move g_signal_connects to realize callback

Under Mesa the "configure" callback is is triggered before the "realize"
callback. This causes a crash because some OpenGL initialization must be
performed after the widget is realized.

Moving the callback connects forces proper ordering.
src/gis-opengl.c