summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-11 03:53:40 +0200
committerRay Strode <rstrode@redhat.com>2009-08-11 17:44:27 -0400
commitd4c986776d0626fc5e1d6d67232a312f9ec6ad75 (patch)
treeda56c9f22c51970d8a9a086d46d5451350d07d10
parentced836b356bd3235c69754e82fe8510ee377d58c (diff)
downloadConsoleKit2-d4c986776d0626fc5e1d6d67232a312f9ec6ad75.tar.gz
Move ck_session_run_programs() from ck-run-programs.h to ck-session.h
It's a method of CkSession hence it belongs in ck-session.h
-rw-r--r--src/ck-run-programs.h3
-rw-r--r--src/ck-session.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ck-run-programs.h b/src/ck-run-programs.h
index 77cdf48..07f4086 100644
--- a/src/ck-run-programs.h
+++ b/src/ck-run-programs.h
@@ -30,9 +30,6 @@ G_BEGIN_DECLS
void ck_run_programs (const char *dirpath, const char *action, char **extra_env);
-void ck_session_run_programs (CkSession *session, const char *action);
-
-
G_END_DECLS
#endif /* __CK_RUN_PROGRAMS_H */
diff --git a/src/ck-session.h b/src/ck-session.h
index c9ebd08..b6b565b 100644
--- a/src/ck-session.h
+++ b/src/ck-session.h
@@ -76,6 +76,9 @@ CkSession * ck_session_new_with_parameters (const char *ss
void ck_session_dump (CkSession *session,
GKeyFile *key_file);
+void ck_session_run_programs (CkSession *session,
+ const char *action);
+
gboolean ck_session_set_active (CkSession *session,
gboolean active,