aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Makefile.in2
-rw-r--r--plugins/ka-plugin-afs.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Makefile.in b/plugins/Makefile.in
index 74894c5..a101b98 100644
--- a/plugins/Makefile.in
+++ b/plugins/Makefile.in
@@ -157,8 +157,6 @@ CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DATADIRNAME = @DATADIRNAME@
-DBUS_CFLAGS = @DBUS_CFLAGS@
-DBUS_LIBS = @DBUS_LIBS@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
diff --git a/plugins/ka-plugin-afs.c b/plugins/ka-plugin-afs.c
index 57daed0..831e016 100644
--- a/plugins/ka-plugin-afs.c
+++ b/plugins/ka-plugin-afs.c
@@ -39,7 +39,7 @@ struct _KaPluginAfsPrivate {
};
static void
-event_cb (gpointer *applet, gchar *princ, guint when, gpointer user_data)
+event_cb (gpointer *applet, gchar *princ, guint when, gpointer user_data G_GNUC_UNUSED)
{
GError *err = NULL;
gboolean ret;
@@ -73,10 +73,10 @@ ka_plugin_afs_activate (KaPlugin *self, KaApplet *applet)
priv->handlers[0] = g_signal_connect (applet,
"krb-tgt-acquired",
- G_CALLBACK (event_cb), "Acquired");
+ G_CALLBACK (event_cb), NULL);
priv->handlers[1] = g_signal_connect (applet,
"krb-tgt-renewed",
- G_CALLBACK (event_cb), "Renewed");
+ G_CALLBACK (event_cb), NULL);
}
static void
bgstack15