X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fmirrorblob.c;h=eb746d1a101e433d3972a84a5d6326beb54052a4;hp=7595e70d243ea6170c6ac1c798e232e14f6bc748;hb=39809ded547bdbb08207d3e514950425215b4410;hpb=4361b69d3178d7fc98d0388f9a223af6c2651aba diff --git a/hacks/glx/mirrorblob.c b/hacks/glx/mirrorblob.c index 7595e70d..eb746d1a 100644 --- a/hacks/glx/mirrorblob.c +++ b/hacks/glx/mirrorblob.c @@ -44,7 +44,6 @@ "*chooseRandomImages: True \n" \ "*suppressRotationAnimation: True\n" \ -# define refresh_mirrorblob 0 # define release_mirrorblob 0 # include "xlockmore.h" #else /* !STANDALONE */ @@ -179,7 +178,7 @@ ENTRYPOINT ModeSpecOpt mirrorblob_opts = {countof(opts), opts, countof(vars), va #ifdef USE_MODULES ModStruct mirrorblob_description = {"mirrorblob", "init_mirrorblob", "draw_mirrorblob", NULL, - "draw_mirrorblob", "init_mirrorblob", "handle_event", &mirrorblob_opts, + "draw_mirrorblob", "init_mirrorblob", "free_mirrorblob", &mirrorblob_opts, 1000, 1, 2, 1, 4, 1.0, "", "OpenGL mirrorblob", 0, NULL}; #endif @@ -1786,8 +1785,6 @@ mirrorblob_handle_event (ModeInfo * mi, XEvent * event) return False; } -static void free_mirrorblob(ModeInfo * mi); - /****************************************************************************** * * XMirrorblob initialise entry @@ -1799,7 +1796,7 @@ init_mirrorblob(ModeInfo * mi) mirrorblobstruct *gp; - MI_INIT(mi, Mirrorblob, free_mirrorblob); + MI_INIT(mi, Mirrorblob); gp = &Mirrorblob[screen]; gp->window = MI_WINDOW(mi); @@ -1825,7 +1822,7 @@ init_mirrorblob(ModeInfo * mi) * * XMirrorblob cleanup entry */ -static void +ENTRYPOINT void free_mirrorblob(ModeInfo * mi) { mirrorblobstruct *gp = &Mirrorblob[MI_SCREEN(mi)];