diff options
author | Eric Koegel <eric.koegel@gmail.com> | 2015-08-09 10:43:52 +0300 |
---|---|---|
committer | Eric Koegel <eric.koegel@gmail.com> | 2015-08-09 10:46:18 +0300 |
commit | bee63889f4a0b8f57807a61d8396346cec8cd5b1 (patch) | |
tree | 1fe1a9471a4217eec28ecd5ee995c17d361c3160 /tools | |
parent | 5d4296bbf60e56a7d5891f107158106b66b8ca63 (diff) | |
download | ConsoleKit2-bee63889f4a0b8f57807a61d8396346cec8cd5b1.tar.gz |
Minor code refactoring
This removes and cleans up some duplicated code. Both the ck-manager
and the ck-session had an implementation to get the calling uid/pid
so it's now moved to a common location. The inhibit changed signal
has been made more explicit in when the delay is removed. The
polkit permissions was duplicated over two functions and has been
moved to a single common one. So this patch is just minor house
keeping.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 81f4d1f..69dd1eb 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -131,6 +131,7 @@ ck_collect_session_info_SOURCES = \ $(NULL) ck_collect_session_info_LDADD = \ + $(CONSOLE_KIT_LIBS) \ $(TOOLS_LIBS) \ $(top_builddir)/src/libck.la \ $(NULL) @@ -140,6 +141,7 @@ ck_get_x11_server_pid_SOURCES = \ $(NULL) ck_get_x11_server_pid_LDADD = \ + $(CONSOLE_KIT_LIBS) \ $(TOOLS_LIBS) \ $(XLIB_LIBS) \ $(top_builddir)/src/libck.la \ @@ -150,6 +152,7 @@ ck_get_x11_display_device_SOURCES = \ $(NULL) ck_get_x11_display_device_LDADD = \ + $(CONSOLE_KIT_LIBS) \ $(TOOLS_LIBS) \ $(top_builddir)/src/libck.la \ $(NULL) |