aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-dialog/gtk-logout-helper.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-03 14:52:09 -0600
committerTed Gould <ted@gould.cx>2010-03-03 14:52:09 -0600
commitf998b8b0d4bb9d9965f804ad5004b089a61f0248 (patch)
treeadaef309b1ae7e59e5685806c0d5016cdc49eae7 /src/gtk-dialog/gtk-logout-helper.c
parent3f35021350143255280fe30b1f38c46219c72f6b (diff)
downloadayatana-indicator-session-f998b8b0d4bb9d9965f804ad5004b089a61f0248.tar.gz
ayatana-indicator-session-f998b8b0d4bb9d9965f804ad5004b089a61f0248.tar.bz2
ayatana-indicator-session-f998b8b0d4bb9d9965f804ad5004b089a61f0248.zip
Removing the old ck-pk helpers.
Diffstat (limited to 'src/gtk-dialog/gtk-logout-helper.c')
-rw-r--r--src/gtk-dialog/gtk-logout-helper.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gtk-dialog/gtk-logout-helper.c b/src/gtk-dialog/gtk-logout-helper.c
index 09e6e86..5f087ff 100644
--- a/src/gtk-dialog/gtk-logout-helper.c
+++ b/src/gtk-dialog/gtk-logout-helper.c
@@ -26,7 +26,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <gtk/gtk.h>
#include <dbus/dbus-glib.h>
#include "dialog.h"
-#include "ck-pk-helper.h"
#include "gconf-helper.h"
static void
@@ -144,11 +143,6 @@ main (int argc, char * argv[])
INDICATOR_ICONS_DIR);
GtkWidget * dialog = NULL;
- /* TODO: We're disabling PolicyKit checking here because there
- is a bug in ConsoleKit where the dialog doesn't come up until
- the session is entirely closed. Stupid, but it's better than
- not getting a dialog at all. */
- /* if (!pk_require_auth(type) && !supress_confirmations()) { */
if (!supress_confirmations()) {
dialog = GTK_WIDGET(logout_dialog_new(type));
}