! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
`g_file_trash_async' function appears from GLib 2.38
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Olivier Duchateau 2014-03-31 22:45:32 CEST
With the latest release (4.11.5) and GLib (GIO) 2.36.3, I get this error:

xfdesktop-xfdesktop-file-utils.o: In function `trash_files':
xfdesktop-file-utils.c:(.text+0xe94): undefined reference to `g_file_trash_async
'
gmake[3]: *** [xfdesktop] Error 1
gmake[3]: Leaving directory `/usr/ports/x11-wm/xfce4-desktop/work/xfdesktop-4.11.5/src'

Perhaps, we need to check which version of GLib exist.
Comment 1 Eric Koegel editbugs 2014-04-01 18:51:43 CEST
Created attachment 5405 
g_file_trash_async is too new

Yeah, I didn't read the fine print when I was implementing that function, sorry. This patch should allow it to compile again. Let me know if I missed something.
Comment 2 Olivier Duchateau 2014-04-01 21:07:08 CEST
(In reply to Eric Koegel from comment #1)
> Created attachment 5405 
> g_file_trash_async is too new
> 
> Yeah, I didn't read the fine print when I was implementing that function,
> sorry. This patch should allow it to compile again. Let me know if I missed
> something.

It's ok, thanks

Bug #10786

Reported by:
Olivier Duchateau
Reported on: 2014-03-31
Last modified on: 2014-04-01

People

Assignee:
Eric Koegel
CC List:
1 user

Version

Version:
Unspecified

Attachments

g_file_trash_async is too new (5.77 KB, patch)
2014-04-01 18:51 CEST , Eric Koegel
no flags

Additional information