diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/thunar-sendto-email/main.c | 2 | ||||
-rw-r--r-- | plugins/thunar-uca/thunar-uca-provider.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/thunar-sendto-email/main.c b/plugins/thunar-sendto-email/main.c index 587cdd88..23b8c14a 100644 --- a/plugins/thunar-sendto-email/main.c +++ b/plugins/thunar-sendto-email/main.c @@ -307,7 +307,7 @@ tse_progress (const gchar *working_directory, watch_id = g_child_watch_add (pid, tse_child_watch, dialog); /* start the pulse timer */ - pulse_timer_id = g_timeout_add (125, (GSourceFunc) gtk_progress_bar_pulse, progress); + pulse_timer_id = g_timeout_add (125, (GSourceFunc) (void (*)(void)) gtk_progress_bar_pulse, progress); /* run the dialog */ response = gtk_dialog_run (GTK_DIALOG (dialog)); diff --git a/plugins/thunar-uca/thunar-uca-provider.c b/plugins/thunar-uca/thunar-uca-provider.c index 53dbc8d1..450616ce 100644 --- a/plugins/thunar-uca/thunar-uca-provider.c +++ b/plugins/thunar-uca/thunar-uca-provider.c @@ -246,7 +246,8 @@ thunar_uca_provider_get_file_menu_items (ThunarxMenuProvider *menu_provider, /* connect the "activate" signal */ g_signal_connect_data (G_OBJECT (item), "activate", G_CALLBACK (thunar_uca_provider_activated), - g_object_ref (G_OBJECT (uca_provider)), (GClosureNotify) g_object_unref, + g_object_ref (G_OBJECT (uca_provider)), + (GClosureNotify) (void (*)(void)) g_object_unref, G_CONNECT_SWAPPED); /* set the action path */ |