aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libunity-greeter-session-broadcast/unity-greeter-session-broadcast.h2
-rw-r--r--service/CMakeLists.txt2
-rw-r--r--service/service.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.h b/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.h
index 5fff280..754c134 100644
--- a/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.h
+++ b/libunity-greeter-session-broadcast/unity-greeter-session-broadcast.h
@@ -14,6 +14,6 @@ unity_session_greeter_broadcast_request_app_start (const gchar * username,
G_END_DECLS
-#pragma GCC visiblity pop
+#pragma GCC visibility pop
#endif /* __UNITY_GREETER_SESSION_BROADCAST_H__ */
diff --git a/service/CMakeLists.txt b/service/CMakeLists.txt
index 12caadc..ac70f23 100644
--- a/service/CMakeLists.txt
+++ b/service/CMakeLists.txt
@@ -19,7 +19,7 @@ NAMESPACE ServiceIface
SERVICE_XML ${CMAKE_CURRENT_SOURCE_DIR}/../data/com.canonical.Unity.Greeter.Broadcast.xml
)
-add_library(service-generated STATIC ${HUD_SERVICE_GENERATED_SOURCES})
+add_library(service-generated STATIC ${SERVICE_GENERATED_SOURCES})
target_link_libraries(service-generated
${GLIB2_LIBRARIES}
diff --git a/service/service.c b/service/service.c
index 7cd5cca..e80b471 100644
--- a/service/service.c
+++ b/service/service.c
@@ -1,5 +1,5 @@
-void
+int
main (int argc, char * argv[])
{