aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-08-25 01:12:25 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 12:32:34 +0200
commit5a49c61da24222833ab2d1484ac0bbae58b9e19b (patch)
tree7ec74653ad64391017039d2a98c118813bf1614e /src
parentb22198ea49012bc34023669b516ddd97f8ed5ae5 (diff)
downloadayatana-indicator-power-5a49c61da24222833ab2d1484ac0bbae58b9e19b.tar.gz
ayatana-indicator-power-5a49c61da24222833ab2d1484ac0bbae58b9e19b.tar.bz2
ayatana-indicator-power-5a49c61da24222833ab2d1484ac0bbae58b9e19b.zip
Drop all references to lomiri-url-dispatcher
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
-rw-r--r--src/notifier.c4
2 files changed, 1 insertions, 9 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d6e3c7b..499efb4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,7 +1,3 @@
-if(URLDISPATCHER_FOUND)
- add_definitions( -DHAS_URLDISPATCHER )
-endif()
-
# handwritten sources
set(SERVICE_MANUAL_SOURCES
brightness.c
@@ -58,5 +54,5 @@ link_directories(${SERVICE_DEPS_LIBRARY_DIRS})
# the executable: lib + main()
add_executable (${SERVICE_EXEC} main.c)
set_source_files_properties(${SERVICE_SOURCES} main.c PROPERTIES COMPILE_FLAGS "${C_WARNING_ARGS} -std=c99")
-target_link_libraries (${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES} ${URLDISPATCHER_LIBRARIES})
+target_link_libraries (${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES})
install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_PKGLIBEXECDIR})
diff --git a/src/notifier.c b/src/notifier.c
index d982ac2..098c9b8 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -28,10 +28,6 @@
#include "notifier.h"
#include "utils.h"
-#ifdef HAS_URLDISPATCHER
-#include <lomiri-url-dispatcher.h>
-#endif
-
#include <libnotify/notify.h>
#include <glib/gi18n.h>