st/button: Add the clicked button to virtual function signature

clicked signal includes a clicked mouse button parameter, but the vfunc
signature doesn't include it, so it won't be passed to the functions when
the signal is emitted.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/559
This commit is contained in:
Marco Trevisan (Treviño) 2019-10-15 21:13:59 +02:00 committed by Florian Müllner
parent e4920b2f80
commit 320df13b65

View File

@ -40,7 +40,7 @@ struct _StButtonClass
void (* transition) (StButton *button);
/* signals */
void (* clicked) (StButton *button);
void (* clicked) (StButton *button, int clicked_button);
};
StWidget *st_button_new (void);