Fix signature of other notification backends
Why isn't this a compiler error in the first place..
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user