Skip to content

Commit

Permalink
lapiz-preferences-dialog: test unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed May 16, 2024
1 parent 160eb6e commit ab5817d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lapiz/dialogs/lapiz-preferences-dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ G_DEFINE_TYPE_WITH_PRIVATE (LapizPreferencesDialog, lapiz_preferences_dialog, CT


static void
lapiz_preferences_dialog_class_init (LapizPreferencesDialogClass *klass)
lapiz_preferences_dialog_class_init (LapizPreferencesDialogClass *klass G_GNUC_UNUSED)
{
}

Expand Down Expand Up @@ -501,7 +501,7 @@ bracket_matching_checkbutton_toggled (CtkToggleButton *button,
static gboolean split_button_state = TRUE;

static void
wrap_mode_checkbutton_toggled (CtkToggleButton *button,
wrap_mode_checkbutton_toggled (//CtkToggleButton *button,
LapizPreferencesDialog *dlg)
{
if (!ctk_toggle_button_get_active (CTK_TOGGLE_BUTTON (dlg->priv->wrap_text_checkbutton)))
Expand Down Expand Up @@ -790,7 +790,7 @@ set_buttons_sensisitivity_according_to_scheme (LapizPreferencesDialog *dlg,
}

static void
style_scheme_changed (CtkWidget *treeview,
style_scheme_changed (//CtkWidget *treeview,
LapizPreferencesDialog *dlg)
{
CtkTreePath *path;
Expand Down Expand Up @@ -1002,7 +1002,7 @@ scheme_file_chooser_dialog_new (const gchar *title,
}

static void
install_scheme_clicked (CtkButton *button,
install_scheme_clicked (//CtkButton *button,
LapizPreferencesDialog *dlg)
{
CtkWidget *chooser;
Expand Down Expand Up @@ -1056,7 +1056,7 @@ install_scheme_clicked (CtkButton *button,
}

static void
uninstall_scheme_clicked (CtkButton *button,
uninstall_scheme_clicked (//CtkButton *button,
LapizPreferencesDialog *dlg)
{
CtkTreeSelection *selection;
Expand Down Expand Up @@ -1142,11 +1142,11 @@ uninstall_scheme_clicked (CtkButton *button,
}

static void
scheme_description_cell_data_func (CtkTreeViewColumn *column,
scheme_description_cell_data_func (CtkTreeViewColumn *column G_GNUC_UNUSED,
CtkCellRenderer *renderer,
CtkTreeModel *model,
CtkTreeIter *iter,
gpointer data)
gpointer data G_GNUC_UNUSED)
{
gchar *name;
gchar *desc;
Expand Down

0 comments on commit ab5817d

Please sign in to comment.