X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=examples%2Fplugin%2Fteapot.h;h=34b5cb1810f06f9adad2f1e174b93fa897ef5223;hb=c9865c176b97e2082a998b439ec51c31832e55f6;hp=5008e048bde0e38a45fcd531769f99fe4d50d524;hpb=c7c4b00e13af89cb7ed88de9b7a48115e5fce1b6;p=grits diff --git a/examples/plugin/teapot.h b/examples/plugin/teapot.h index 5008e04..34b5cb1 100644 --- a/examples/plugin/teapot.h +++ b/examples/plugin/teapot.h @@ -1,16 +1,16 @@ /* * Copyright (C) 2009 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 * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ @@ -34,10 +34,10 @@ struct _GisPluginTeapot { GObject parent_instance; /* instance members */ + GisViewer *viewer; GtkToggleButton *button; guint rotate_id; float rotation; - GisOpenGL *opengl; }; struct _GisPluginTeapotClass { @@ -47,6 +47,6 @@ struct _GisPluginTeapotClass { GType gis_plugin_teapot_get_type(); /* Methods */ -GisPluginTeapot *gis_plugin_teapot_new(GisWorld *world, GisView *view, GisOpenGL *opengl); +GisPluginTeapot *gis_plugin_teapot_new(GisViewer *viewer, GisPrefs *prefs); #endif