! 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 !
Compilation error: undeclared self
Status:
RESOLVED: FIXED
Product:
Xfdashboard
Component:
General

Comments

Description Daniel Chabrowski 2020-03-14 18:42:11 CET
ee2c3b3bfadfa6bbd328ecee4aced1ad49446df4 introduced a debug log that causes a following compilation error:

application-database.c: In function ‘xfdashboard_application_database_get_file_from_desktop_id’:
application-database.c:1616:21: error: ‘self’ undeclared (first use in this function)

`appDb` initialization happens in line 1649 so it could be used instead of `self` if moved a bit up.
Comment 1 Daniel Chabrowski 2020-03-14 19:33:43 CET
Created attachment 9599 
Proposed fix
Comment 2 Stephan Haller editbugs 2020-03-15 16:50:53 CET
Hi Daniel,

thanks for reporting this issue and sending a patch to resolve it :) I have applied your patch and committed it to git.

Thanks and regards
Stephan

Bug #16550

Reported by:
Daniel Chabrowski
Reported on: 2020-03-14
Last modified on: 2020-03-15

People

Assignee:
Stephan Haller
CC List:
0 users

Version

Version:
unspecified

Attachments

Proposed fix (1.48 KB, patch)
2020-03-14 19:33 CET , Daniel Chabrowski
no flags

Additional information