X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=examples%2Fplugin%2Fteapot.c;h=d80ab21c98aa4d7706fdeace3f08b555c7b43877;hp=a506cf1b63bfc0f2dd2ce312bf1f541f7248baa3;hb=b87064909e6d20e1ee2995adae0c1ce5cb692d7e;hpb=7d7d6ae0531a85361ce0d8b997d988b653282847 diff --git a/examples/plugin/teapot.c b/examples/plugin/teapot.c index a506cf1..d80ab21 100644 --- a/examples/plugin/teapot.c +++ b/examples/plugin/teapot.c @@ -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; }