+/***********
+ * Methods *
+ ***********/
+GisPluginTeapot *gis_plugin_teapot_new(GisViewer *viewer, GisPrefs *prefs)
+{
+ g_debug("GisPluginTeapot: new");
+ GisPluginTeapot *teapot = g_object_new(GIS_TYPE_PLUGIN_TEAPOT, NULL);
+ teapot->viewer = viewer;
+
+ /* Add renderers */
+ GisCallback *callback = gis_callback_new(expose, teapot);
+ gis_viewer_add(viewer, GIS_OBJECT(callback), GIS_LEVEL_OVERLAY+1, 0);
+
+ return teapot;
+}
+
+static GtkWidget *gis_plugin_teapot_get_config(GisPlugin *_teapot)
+{
+ GisPluginTeapot *teapot = GIS_PLUGIN_TEAPOT(_teapot);
+ return GTK_WIDGET(teapot->button);
+}
+
+