@@ -324,7 +324,7 @@ create_dialog (LapizSpellCheckerDialog *dlg,
324
324
}
325
325
326
326
static void
327
- lapiz_spell_checker_dialog_init (LapizSpellCheckerDialog * dlg )
327
+ lapiz_spell_checker_dialog_init (LapizSpellCheckerDialog * dlg G_GNUC_UNUSED )
328
328
{
329
329
}
330
330
@@ -398,7 +398,7 @@ lapiz_spell_checker_dialog_set_spell_checker (LapizSpellCheckerDialog *dlg, Lapi
398
398
void
399
399
lapiz_spell_checker_dialog_set_misspelled_word (LapizSpellCheckerDialog * dlg ,
400
400
const gchar * word ,
401
- gint len )
401
+ gint len G_GNUC_UNUSED )
402
402
{
403
403
gchar * tmp ;
404
404
GSList * sug ;
@@ -485,7 +485,8 @@ update_suggestions_list_model (LapizSpellCheckerDialog *dlg, GSList *suggestions
485
485
}
486
486
487
487
static void
488
- word_entry_changed_handler (CtkEditable * editable , LapizSpellCheckerDialog * dlg )
488
+ word_entry_changed_handler (CtkEditable * editable G_GNUC_UNUSED ,
489
+ LapizSpellCheckerDialog * dlg )
489
490
{
490
491
const gchar * text ;
491
492
@@ -508,7 +509,8 @@ word_entry_changed_handler (CtkEditable *editable, LapizSpellCheckerDialog *dlg)
508
509
}
509
510
510
511
static void
511
- close_button_clicked_handler (CtkButton * button , LapizSpellCheckerDialog * dlg )
512
+ close_button_clicked_handler (CtkButton * button G_GNUC_UNUSED ,
513
+ LapizSpellCheckerDialog * dlg )
512
514
{
513
515
g_return_if_fail (LAPIZ_IS_SPELL_CHECKER_DIALOG (dlg ));
514
516
@@ -540,7 +542,8 @@ suggestions_list_selection_changed_handler (CtkTreeSelection *selection,
540
542
}
541
543
542
544
static void
543
- check_word_button_clicked_handler (CtkButton * button , LapizSpellCheckerDialog * dlg )
545
+ check_word_button_clicked_handler (CtkButton * button G_GNUC_UNUSED ,
546
+ LapizSpellCheckerDialog * dlg )
544
547
{
545
548
const gchar * word ;
546
549
gssize len ;
@@ -584,7 +587,8 @@ check_word_button_clicked_handler (CtkButton *button, LapizSpellCheckerDialog *d
584
587
}
585
588
586
589
static void
587
- add_word_button_clicked_handler (CtkButton * button , LapizSpellCheckerDialog * dlg )
590
+ add_word_button_clicked_handler (CtkButton * button G_GNUC_UNUSED ,
591
+ LapizSpellCheckerDialog * dlg )
588
592
{
589
593
gchar * word ;
590
594
@@ -603,7 +607,8 @@ add_word_button_clicked_handler (CtkButton *button, LapizSpellCheckerDialog *dlg
603
607
}
604
608
605
609
static void
606
- ignore_button_clicked_handler (CtkButton * button , LapizSpellCheckerDialog * dlg )
610
+ ignore_button_clicked_handler (CtkButton * button G_GNUC_UNUSED ,
611
+ LapizSpellCheckerDialog * dlg )
607
612
{
608
613
gchar * word ;
609
614
@@ -618,7 +623,8 @@ ignore_button_clicked_handler (CtkButton *button, LapizSpellCheckerDialog *dlg)
618
623
}
619
624
620
625
static void
621
- ignore_all_button_clicked_handler (CtkButton * button , LapizSpellCheckerDialog * dlg )
626
+ ignore_all_button_clicked_handler (CtkButton * button G_GNUC_UNUSED ,
627
+ LapizSpellCheckerDialog * dlg )
622
628
{
623
629
gchar * word ;
624
630
@@ -637,7 +643,8 @@ ignore_all_button_clicked_handler (CtkButton *button, LapizSpellCheckerDialog *d
637
643
}
638
644
639
645
static void
640
- change_button_clicked_handler (CtkButton * button , LapizSpellCheckerDialog * dlg )
646
+ change_button_clicked_handler (CtkButton * button G_GNUC_UNUSED ,
647
+ LapizSpellCheckerDialog * dlg )
641
648
{
642
649
const gchar * entry_text ;
643
650
gchar * change ;
@@ -665,18 +672,19 @@ change_button_clicked_handler (CtkButton *button, LapizSpellCheckerDialog *dlg)
665
672
666
673
/* double click on one of the suggestions is like clicking on "change" */
667
674
static void
668
- suggestions_list_row_activated_handler (CtkTreeView * view ,
669
- CtkTreePath * path ,
670
- CtkTreeViewColumn * column ,
671
- LapizSpellCheckerDialog * dlg )
675
+ suggestions_list_row_activated_handler (CtkTreeView * view G_GNUC_UNUSED ,
676
+ CtkTreePath * path G_GNUC_UNUSED ,
677
+ CtkTreeViewColumn * column G_GNUC_UNUSED ,
678
+ LapizSpellCheckerDialog * dlg )
672
679
{
673
680
g_return_if_fail (LAPIZ_IS_SPELL_CHECKER_DIALOG (dlg ));
674
681
675
682
change_button_clicked_handler (CTK_BUTTON (dlg -> change_button ), dlg );
676
683
}
677
684
678
685
static void
679
- change_all_button_clicked_handler (CtkButton * button , LapizSpellCheckerDialog * dlg )
686
+ change_all_button_clicked_handler (CtkButton * button G_GNUC_UNUSED ,
687
+ LapizSpellCheckerDialog * dlg )
680
688
{
681
689
const gchar * entry_text ;
682
690
gchar * change ;
0 commit comments