Mercurial > geeqie.yaz
diff src/typedefs.h @ 868:db6977f8b0f1
Reduce number of parameters (mostly unused), just pass the event pointer.
author | zas_ |
---|---|
date | Sat, 28 Jun 2008 07:43:37 +0000 |
parents | db68d673448f |
children | ad420f2eb789 |
line wrap: on
line diff
--- a/src/typedefs.h Sat Jun 28 00:44:31 2008 +0000 +++ b/src/typedefs.h Sat Jun 28 07:43:37 2008 +0000 @@ -376,12 +376,9 @@ gpointer data_tile; /* button, scroll functions */ - void (*func_button)(ImageWindow *, gint button, - guint32 time, gdouble x, gdouble y, guint state, gpointer); - void (*func_drag)(ImageWindow *, gint button, - guint32 time, gdouble x, gdouble y, guint state, gdouble dx, gdouble dy,gpointer); - void (*func_scroll)(ImageWindow *, GdkScrollDirection direction, - guint32 time, gdouble x, gdouble y, guint state, gpointer); + void (*func_button)(ImageWindow *, GdkEventButton *event, gpointer); + void (*func_drag)(ImageWindow *, GdkEventButton *event, gdouble dx, gdouble dy, gpointer); + void (*func_scroll)(ImageWindow *, GdkEventScroll *event, gpointer); gpointer data_button; gpointer data_drag;