X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=src%2Fgis-opengl.c;h=30671aad9f0772aef8534de401b338bbb4f6e5e9;hb=6191cb37c36331a119189699d519d84f359d2c9b;hp=e18a309cbfee65c635bc599f4f6acd3e50e75393;hpb=b92087ed5280da4c84ea927a73a8d7bb461e7d47;p=grits diff --git a/src/gis-opengl.c b/src/gis-opengl.c index e18a309..30671aa 100644 --- a/src/gis-opengl.c +++ b/src/gis-opengl.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 Andy Spencer + * Copyright (C) 2009-2010 Andy Spencer * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -414,11 +414,11 @@ static gboolean on_idle(GisOpenGL *self) /********************* * GisViewer methods * *********************/ -GisViewer *gis_opengl_new(GisPlugins *plugins) +GisViewer *gis_opengl_new(GisPlugins *plugins, GisPrefs *prefs) { g_debug("GisOpenGL: new"); GisViewer *self = g_object_new(GIS_TYPE_OPENGL, NULL); - self->plugins = plugins; + gis_viewer_setup(self, plugins, prefs); return self; }