Commit f9b78b13c04161942cf3f6c3396afb6af5885b0d

Authored by Perry Werneck
1 parent 9a3b40f4
Exists in master and in 1 other branch develop

Changing PF/PA action types to int32.

src/terminal/actions/pakey.c
... ... @@ -84,10 +84,10 @@
84 84 }
85 85  
86 86 static const GVariantType * get_parameter_type(GAction G_GNUC_UNUSED(*object)) {
87   - return G_VARIANT_TYPE_UINT32;
  87 + return G_VARIANT_TYPE_INT32;
88 88 }
89 89  
90   - static gboolean get_enabled(GAction *action, GtkWidget *terminal) {
  90 + static gboolean get_enabled(GAction G_GNUC_UNUSED(*action), GtkWidget G_GNUC_UNUSED(*terminal)) {
91 91 return TRUE;
92 92 }
93 93  
... ...
src/terminal/actions/pfkey.c
... ... @@ -84,10 +84,10 @@
84 84 }
85 85  
86 86 static const GVariantType * get_parameter_type(GAction G_GNUC_UNUSED(*object)) {
87   - return G_VARIANT_TYPE_UINT32;
  87 + return G_VARIANT_TYPE_INT32;
88 88 }
89 89  
90   - static gboolean get_enabled(GAction *action, GtkWidget *terminal) {
  90 + static gboolean get_enabled(GAction G_GNUC_UNUSED(*action), GtkWidget G_GNUC_UNUSED(*terminal)) {
91 91 return TRUE;
92 92 }
93 93  
... ...