Skip to content

Commit

Permalink
lapiz-commands-edit: add G_GNUC_UNUSED in unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed Jun 2, 2024
1 parent 00278ac commit a24f90f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lapiz/lapiz-commands-edit.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include "dialogs/lapiz-preferences-dialog.h"

void
_lapiz_cmd_edit_undo (CtkAction *action,
_lapiz_cmd_edit_undo (CtkAction *action G_GNUC_UNUSED,
LapizWindow *window)
{
LapizView *active_view;
Expand All @@ -64,7 +64,7 @@ _lapiz_cmd_edit_undo (CtkAction *action,
}

void
_lapiz_cmd_edit_redo (CtkAction *action,
_lapiz_cmd_edit_redo (CtkAction *action G_GNUC_UNUSED,
LapizWindow *window)
{
LapizView *active_view;
Expand All @@ -85,7 +85,7 @@ _lapiz_cmd_edit_redo (CtkAction *action,
}

void
_lapiz_cmd_edit_cut (CtkAction *action,
_lapiz_cmd_edit_cut (CtkAction *action G_GNUC_UNUSED,
LapizWindow *window)
{
LapizView *active_view;
Expand All @@ -101,7 +101,7 @@ _lapiz_cmd_edit_cut (CtkAction *action,
}

void
_lapiz_cmd_edit_copy (CtkAction *action,
_lapiz_cmd_edit_copy (CtkAction *action G_GNUC_UNUSED,
LapizWindow *window)
{
LapizView *active_view;
Expand All @@ -117,7 +117,7 @@ _lapiz_cmd_edit_copy (CtkAction *action,
}

void
_lapiz_cmd_edit_paste (CtkAction *action,
_lapiz_cmd_edit_paste (CtkAction *action G_GNUC_UNUSED,
LapizWindow *window)
{
LapizView *active_view;
Expand All @@ -133,7 +133,7 @@ _lapiz_cmd_edit_paste (CtkAction *action,
}

void
_lapiz_cmd_edit_delete (CtkAction *action,
_lapiz_cmd_edit_delete (CtkAction *action G_GNUC_UNUSED,
LapizWindow *window)
{
LapizView *active_view;
Expand All @@ -149,7 +149,7 @@ _lapiz_cmd_edit_delete (CtkAction *action,
}

void
_lapiz_cmd_edit_select_all (CtkAction *action,
_lapiz_cmd_edit_select_all (CtkAction *action G_GNUC_UNUSED,
LapizWindow *window)
{
LapizView *active_view;
Expand All @@ -165,7 +165,7 @@ _lapiz_cmd_edit_select_all (CtkAction *action,
}

void
_lapiz_cmd_edit_preferences (CtkAction *action,
_lapiz_cmd_edit_preferences (CtkAction *action G_GNUC_UNUSED,
LapizWindow *window)
{
lapiz_debug (DEBUG_COMMANDS);
Expand Down

0 comments on commit a24f90f

Please sign in to comment.