mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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:
parent
e4920b2f80
commit
320df13b65
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue