aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-dialog/ck-pk-helper.h
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2009-09-22 08:14:04 -0500
committerTed Gould <ted@canonical.com>2009-09-22 08:14:04 -0500
commit9703540eaf33ac50e99f04e9eddf5816557868e1 (patch)
tree175ce27b9d2071a9b090bfc29e9e940877803afa /src/gtk-dialog/ck-pk-helper.h
parentf1adf67ab9719ad890186713297054f556b58fd8 (diff)
parenta561b45e3e493646f7a52363006bd6173326d329 (diff)
downloadayatana-indicator-session-9703540eaf33ac50e99f04e9eddf5816557868e1.tar.gz
ayatana-indicator-session-9703540eaf33ac50e99f04e9eddf5816557868e1.tar.bz2
ayatana-indicator-session-9703540eaf33ac50e99f04e9eddf5816557868e1.zip
Patch from Martin to upgrade to the New PolicyKit API
Diffstat (limited to 'src/gtk-dialog/ck-pk-helper.h')
-rw-r--r--src/gtk-dialog/ck-pk-helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk-dialog/ck-pk-helper.h b/src/gtk-dialog/ck-pk-helper.h
index 98bce56..501a8c8 100644
--- a/src/gtk-dialog/ck-pk-helper.h
+++ b/src/gtk-dialog/ck-pk-helper.h
@@ -24,9 +24,9 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef __CK_PK_HELPER_H__
#define __CK_PK_HELPER_H__ 1
-#include <polkit-gnome/polkit-gnome.h>
+#include <polkit/polkit.h>
gboolean pk_require_auth (LogoutDialogAction action);
-gboolean pk_can_do_action (const gchar *action_id, PolKitResult * pol_result);
+gboolean pk_can_do_action (const gchar *action_id, PolkitAuthorizationResult ** pol_result);
#endif /* __CK_PK_HELPER__ */