summaryrefslogtreecommitdiff
path: root/src/astal-river.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/astal-river.c')
-rw-r--r--src/astal-river.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/astal-river.c b/src/astal-river.c
index 000f26c..37f34d5 100644
--- a/src/astal-river.c
+++ b/src/astal-river.c
@@ -3,7 +3,7 @@
#include <stdlib.h>
#include "gio/gio.h"
-#include "river.h"
+#include "astal-river.h"
GMainLoop* loop;
@@ -34,11 +34,11 @@ int main(int argc, char** argv) {
}
}
- GError *error = NULL;
+ GError* error = NULL;
AstalRiverRiver* river = g_initable_new(ASTAL_RIVER_TYPE_RIVER, NULL, &error, NULL);
- if(error) {
- g_critical("%s\n", error->message);
- exit(EXIT_FAILURE);
+ if (error) {
+ g_critical("%s\n", error->message);
+ exit(EXIT_FAILURE);
}
if (daemon) {
loop = g_main_loop_new(NULL, FALSE);