diff options
author | rbuj <[email protected]> | 2021-01-03 11:15:57 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-01-20 07:48:05 +0100 |
commit | 7cd5fe838cfe53c06827377ab05530095ef69325 (patch) | |
tree | a117b557a86228b099389e9fb599ed6f5d3a16ed /src/eom-save-as-dialog-helper.c | |
parent | d078a81fb1e23bb44f6b405edd93484597e7d4da (diff) | |
download | eom-7cd5fe838cfe53c06827377ab05530095ef69325.tar.bz2 eom-7cd5fe838cfe53c06827377ab05530095ef69325.tar.xz |
Remove unnecessary casts on signal function calls
Diffstat (limited to 'src/eom-save-as-dialog-helper.c')
-rw-r--r-- | src/eom-save-as-dialog-helper.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/eom-save-as-dialog-helper.c b/src/eom-save-as-dialog-helper.c index 090b556..537243f 100644 --- a/src/eom-save-as-dialog-helper.c +++ b/src/eom-save-as-dialog-helper.c @@ -236,17 +236,21 @@ eom_save_as_dialog_new (GtkWindow *main, GList *images, GFile *base_file) data->image = g_object_ref (EOM_IMAGE (g_list_nth_data (images, data->nth_image))); g_object_set_data_full (G_OBJECT (dlg), "data", data, destroy_data_cb); - g_signal_connect (G_OBJECT (data->format_combobox), "changed", - (GCallback) on_format_combobox_changed, dlg); + g_signal_connect (data->format_combobox, "changed", + G_CALLBACK (on_format_combobox_changed), + dlg); - g_signal_connect (G_OBJECT (data->token_entry), "changed", - (GCallback) on_token_entry_changed, dlg); + g_signal_connect (data->token_entry, "changed", + G_CALLBACK (on_token_entry_changed), + dlg); - g_signal_connect (G_OBJECT (data->replace_spaces_check), "toggled", - (GCallback) on_replace_spaces_check_clicked, dlg); + g_signal_connect (data->replace_spaces_check, "toggled", + G_CALLBACK (on_replace_spaces_check_clicked), + dlg); - g_signal_connect (G_OBJECT (data->counter_spin), "changed", - (GCallback) on_counter_spin_changed, dlg); + g_signal_connect (data->counter_spin, "changed", + G_CALLBACK (on_counter_spin_changed), + dlg); label = GTK_WIDGET (gtk_builder_get_object (xml, "preview_label_from")); gtk_label_set_text (GTK_LABEL (label), eom_image_get_caption (data->image)); |