aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-06-27 10:55:38 -0500
committerTed Gould <ted@gould.cx>2013-06-27 10:55:38 -0500
commitcb0b3fec50362d28b91a59693eddd01161b00d95 (patch)
treeba2392cd588b11367ad1abf0aebda30230507e11
parent9395a787f76972df2dbb073dc4ac4ab68ef774e8 (diff)
downloadayatana-greeter-session-broadcast-cb0b3fec50362d28b91a59693eddd01161b00d95.tar.gz
ayatana-greeter-session-broadcast-cb0b3fec50362d28b91a59693eddd01161b00d95.tar.bz2
ayatana-greeter-session-broadcast-cb0b3fec50362d28b91a59693eddd01161b00d95.zip
Fixes so this all builds
-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[])
{