summaryrefslogtreecommitdiff
path: root/src/xdg-autostart-generator/xdg-autostart-service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xdg-autostart-generator/xdg-autostart-service.h')
-rw-r--r--src/xdg-autostart-generator/xdg-autostart-service.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xdg-autostart-generator/xdg-autostart-service.h b/src/xdg-autostart-generator/xdg-autostart-service.h
index 2641718899..61a4a7304d 100644
--- a/src/xdg-autostart-generator/xdg-autostart-service.h
+++ b/src/xdg-autostart-generator/xdg-autostart-service.h
@@ -26,7 +26,6 @@ typedef struct XdgAutostartService {
} XdgAutostartService;
-
XdgAutostartService * xdg_autostart_service_free(XdgAutostartService *s);
DEFINE_TRIVIAL_CLEANUP_FUNC(XdgAutostartService*, xdg_autostart_service_free);
@@ -34,4 +33,4 @@ char *xdg_autostart_service_translate_name(const char *name);
int xdg_autostart_format_exec_start(const char *exec, char **ret_exec_start);
XdgAutostartService *xdg_autostart_service_parse_desktop(const char *path);
-int xdg_autostart_service_generate_unit(XdgAutostartService *service, const char *dest);
+int xdg_autostart_service_generate_unit(const XdgAutostartService *service, const char *dest);