From 17ccb42efb09717a26d7bfceee7a18ad67d71411 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 25 Sep 2009 10:25:40 +0200 Subject: Bug #593609 - Have buildable exchange-operations plugin again --- plugins/exchange-operations/exchange-user-dialog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/exchange-operations/exchange-user-dialog.c') 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); -- cgit v1.2.3