summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2017-04-28 07:38:47 -0400
committerPatrick Griffis <tingping@tingping.se>2017-04-28 07:38:47 -0400
commit88cb0c9d205552ba3f2531d0d6380f7d9f15c4f7 (patch)
treeba61c995c28a4d454d56e9002d1fde6985fc660c /src/fe-gtk
parentec94565cb90134dfedd585a45c8266cc2e21ef4c (diff)
Fix signature of other notification backends
Why isn't this a compiler error in the first place..
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/notifications/notification-dummy.c2
-rw-r--r--src/fe-gtk/notifications/notification-libnotify.c2
-rw-r--r--src/fe-gtk/notifications/notification-osx.m2
3 files changed, 3 insertions, 3 deletions
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;
 }