From 88cb0c9d205552ba3f2531d0d6380f7d9f15c4f7 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Fri, 28 Apr 2017 07:38:47 -0400 Subject: Fix signature of other notification backends Why isn't this a compiler error in the first place.. --- src/fe-gtk/notifications/notification-dummy.c | 2 +- src/fe-gtk/notifications/notification-libnotify.c | 2 +- src/fe-gtk/notifications/notification-osx.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fe-gtk/notifications') diff --git a/src/fe-gtk/notifications/notification-dummy.c b/src/fe-gtk/notifications/notification-dummy.c index 022443bf..9aa7d19c 100644 --- a/src/fe-gtk/notifications/notification-dummy.c +++ b/src/fe-gtk/notifications/notification-dummy.c @@ -22,7 +22,7 @@ notification_backend_show (const char *title, const char *text) } int -notification_backend_init (void) +notification_backend_init (const char **error) { return 0; } diff --git a/src/fe-gtk/notifications/notification-libnotify.c b/src/fe-gtk/notifications/notification-libnotify.c index 91148377..aa2d087a 100644 --- a/src/fe-gtk/notifications/notification-libnotify.c +++ b/src/fe-gtk/notifications/notification-libnotify.c @@ -53,7 +53,7 @@ notification_backend_show (const char *title, const char *text) } int -notification_backend_init (void) +notification_backend_init (const char **error) { GList* server_caps; diff --git a/src/fe-gtk/notifications/notification-osx.m b/src/fe-gtk/notifications/notification-osx.m index c9ad72d0..75aaf777 100644 --- a/src/fe-gtk/notifications/notification-osx.m +++ b/src/fe-gtk/notifications/notification-osx.m @@ -37,7 +37,7 @@ notification_backend_show (const char *title, const char *text) } int -notification_backend_init (void) +notification_backend_init (const char **error) { return 1; } -- cgit 1.4.1