diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-11-03 19:46:16 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-11-03 19:46:16 +0100 |
commit | 325b5a9a1e946a717fff4d0deed3d36e1d33486c (patch) | |
tree | c3ebdc5676581929e1786c6ec874c3466fafc414 /src/ka-applet.c | |
parent | New upstream version 3.2.0 (diff) | |
download | krb5-auth-dialog-325b5a9a1e946a717fff4d0deed3d36e1d33486c.tar.gz krb5-auth-dialog-325b5a9a1e946a717fff4d0deed3d36e1d33486c.tar.bz2 krb5-auth-dialog-325b5a9a1e946a717fff4d0deed3d36e1d33486c.zip |
New upstream version 3.2.1
Diffstat (limited to 'src/ka-applet.c')
-rw-r--r-- | src/ka-applet.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ka-applet.c b/src/ka-applet.c index f1fffbf..56d4b14 100644 --- a/src/ka-applet.c +++ b/src/ka-applet.c @@ -188,10 +188,6 @@ ka_applet_startup (GApplication *application) KA_DEBUG ("Primary application"); self->priv->startup_ccache = ka_kerberos_init (self); - if (!ka_dbus_connect (self)) { - ka_applet_destroy (self); - } - main_window = ka_main_window_create (self, self->priv->uixml); gtk_application_add_window (GTK_APPLICATION(self), main_window); ka_preferences_window_create (self, self->priv->uixml); @@ -1080,6 +1076,8 @@ ka_applet_create () applet->priv->loader = ka_plugin_loader_create (applet); g_return_val_if_fail (applet->priv->loader != NULL, NULL); + g_return_val_if_fail (ka_dbus_connect (applet), NULL); + return applet; } |