Mercurial > geeqie
diff src/image.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 | fb249b8e63e4 |
children | ad420f2eb789 |
line wrap: on
line diff
--- a/src/image.h Sat Jun 28 00:44:31 2008 +0000 +++ b/src/image.h Sat Jun 28 07:43:37 2008 +0000 @@ -25,13 +25,13 @@ void (*func)(ImageWindow *imd, gpointer data), gpointer data); void image_set_button_func(ImageWindow *imd, - void (*func)(ImageWindow *, gint button, guint32 time, gdouble x, gdouble y, guint state, gpointer), + void (*func)(ImageWindow *, GdkEventButton *event, gpointer), gpointer data); void image_set_drag_func(ImageWindow *imd, - void (*func)(ImageWindow *, gint button, guint32 time, gdouble x, gdouble y, guint state, gdouble dx, gdouble dy, gpointer), + void (*func)(ImageWindow *, GdkEventButton *event, gdouble dx, gdouble dy, gpointer), gpointer data); void image_set_scroll_func(ImageWindow *imd, - void (*func)(ImageWindow *, GdkScrollDirection direction, guint32 time, gdouble x, gdouble y, guint state, gpointer), + void (*func)(ImageWindow *, GdkEventScroll *event, gpointer), gpointer data); void image_set_scroll_notify_func(ImageWindow *imd, void (*func)(ImageWindow *imd, gint x, gint y, gint width, gint height, gpointer data),