Commit f9b78b13c04161942cf3f6c3396afb6af5885b0d
1 parent
9a3b40f4
Exists in
master
and in
1 other branch
Changing PF/PA action types to int32.
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
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 | ... | ... |