Properly set return value for lxterminal_socket_initialize
authorMamoru TASAKA <mtasaka@fedoraproject.org>
Wed, 8 Nov 2017 06:00:05 +0000 (15:00 +0900)
committerMamoru TASAKA <mtasaka@fedoraproject.org>
Wed, 8 Nov 2017 06:00:05 +0000 (15:00 +0900)
Fixes #40 #41

src/unixsocket.c

index b813f52..1874399 100644 (file)
@@ -263,5 +263,5 @@ static gboolean handle_request(GIOChannel* gio, GIOCondition condition, ClientIn
 }
 
 gboolean lxterminal_socket_initialize(LXTermWindow* lxtermwin, gint argc, gchar** argv) {
-    init(lxtermwin, argc, argv);
+    return init(lxtermwin, argc, argv);
 }