]> Pileus Git - grits/blobdiff - examples/plugin/teapot.c
Miscellaneous updates, mostly aesthetic
[grits] / examples / plugin / teapot.c
index a506cf1b63bfc0f2dd2ce312bf1f541f7248baa3..d80ab21c98aa4d7706fdeace3f08b555c7b43877 100644 (file)
@@ -35,7 +35,7 @@ static gboolean rotate(gpointer _teapot)
        return TRUE;
 }
 
-static gpointer expose(GisCallback *callback, gpointer _teapot)
+static void expose(GisCallback *callback, gpointer _teapot)
 {
        GisPluginTeapot *teapot = GIS_PLUGIN_TEAPOT(_teapot);
        g_debug("GisPluginTeapot: expose");
@@ -60,8 +60,6 @@ static gpointer expose(GisCallback *callback, gpointer _teapot)
        glColor4f(0.9, 0.9, 0.7, 1.0);
        glDisable(GL_CULL_FACE);
        gdk_gl_draw_teapot(TRUE, 0.25);
-
-       return NULL;
 }