aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-user-dialog.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-09-25 16:25:40 +0800
committerMilan Crha <mcrha@redhat.com>2009-09-25 16:25:40 +0800
commit17ccb42efb09717a26d7bfceee7a18ad67d71411 (patch)
tree4db7bf42635c9169734a5880c6609a3fa111d5e4 /plugins/exchange-operations/exchange-user-dialog.c
parenta60c3f37361f5ce5d1b108286ab502232360c522 (diff)
downloadgsoc2013-evolution-17ccb42efb09717a26d7bfceee7a18ad67d71411.tar
gsoc2013-evolution-17ccb42efb09717a26d7bfceee7a18ad67d71411.tar.gz
gsoc2013-evolution-17ccb42efb09717a26d7bfceee7a18ad67d71411.tar.bz2
gsoc2013-evolution-17ccb42efb09717a26d7bfceee7a18ad67d71411.tar.lz
gsoc2013-evolution-17ccb42efb09717a26d7bfceee7a18ad67d71411.tar.xz
gsoc2013-evolution-17ccb42efb09717a26d7bfceee7a18ad67d71411.tar.zst
gsoc2013-evolution-17ccb42efb09717a26d7bfceee7a18ad67d71411.zip
Bug #593609 - Have buildable exchange-operations plugin again
Diffstat (limited to 'plugins/exchange-operations/exchange-user-dialog.c')
-rw-r--r--plugins/exchange-operations/exchange-user-dialog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/exchange-operations/exchange-user-dialog.c b/plugins/exchange-operations/exchange-user-dialog.c
index 823226427d..908ffd39d1 100644
--- a/plugins/exchange-operations/exchange-user-dialog.c
+++ b/plugins/exchange-operations/exchange-user-dialog.c
@@ -134,7 +134,8 @@ e2k_user_dialog_construct (E2kUserDialog *dialog,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
- gtk_window_set_transient_for (GTK_WINDOW (dialog), parent_window);
+ if (parent_window)
+ gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (parent_window));
priv = dialog->priv;
priv->section_name = g_strdup (section_name);