X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=examples%2Fplugin%2Fteapot.c;h=d80ab21c98aa4d7706fdeace3f08b555c7b43877;hb=cd2b3c70807c914687f9051b34a8fe029de300ee;hp=a506cf1b63bfc0f2dd2ce312bf1f541f7248baa3;hpb=bd716715f1d13a8df514fcfa53fd82aebdfda770;p=grits 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; }