[gnome-shell] st/button: Add the clicked button to virtual function signature
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st/button: Add the clicked button to virtual function signature
- Date: Wed, 16 Oct 2019 15:33:23 +0000 (UTC)
commit 320df13b651d03d20688d645963a114e3936a3a3
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date: Tue Oct 15 21:13:59 2019 +0200
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
src/st/st-button.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/st/st-button.h b/src/st/st-button.h
index 5ee45896e1..df0d1ea0c5 100644
--- a/src/st/st-button.h
+++ b/src/st/st-button.h
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]