[evolution] Overlooked compiler warnings from exchange-operations plugin



commit face752169b27bad4c3cdec8395aee79e40eba7f
Author: Milan Crha <mcrha redhat com>
Date:   Fri Sep 25 10:51:27 2009 +0200

    Overlooked compiler warnings from exchange-operations plugin

 .../exchange-operations/exchange-delegates-user.c  |    2 +-
 .../exchange-folder-size-display.c                 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/exchange-operations/exchange-delegates-user.c b/plugins/exchange-operations/exchange-delegates-user.c
index faf8061..7c1101f 100644
--- a/plugins/exchange-operations/exchange-delegates-user.c
+++ b/plugins/exchange-operations/exchange-delegates-user.c
@@ -234,7 +234,7 @@ exchange_delegates_user_edit (ExchangeAccount *account,
 		NULL);
 
 	if (parent_window)
-		gtk_window_set_transient_for (GTK_WINDOW (delegate_permissions), parent_window);
+		gtk_window_set_transient_for (GTK_WINDOW (delegate_permissions), GTK_WINDOW (parent_window));
 
 	dialog_vbox1 = gtk_dialog_get_content_area (GTK_DIALOG (delegate_permissions));
 	gtk_widget_show (dialog_vbox1);
diff --git a/plugins/exchange-operations/exchange-folder-size-display.c b/plugins/exchange-operations/exchange-folder-size-display.c
index 7e1fc7f..325483f 100644
--- a/plugins/exchange-operations/exchange-folder-size-display.c
+++ b/plugins/exchange-operations/exchange-folder-size-display.c
@@ -123,7 +123,7 @@ exchange_folder_size_display (GtkListStore *model, GtkWidget *parent)
 	gtk_window_set_position (GTK_WINDOW (folder_tree), GTK_WIN_POS_CENTER_ON_PARENT);
 	gtk_window_set_default_size (GTK_WINDOW (folder_tree), 250, 300);
 	if (parent)
-		gtk_window_set_transient_for (GTK_WINDOW (folder_tree), parent);
+		gtk_window_set_transient_for (GTK_WINDOW (folder_tree), GTK_WINDOW (parent));
 
 	dialog_vbox1 = gtk_dialog_get_content_area (GTK_DIALOG (folder_tree));
 	gtk_widget_show (dialog_vbox1);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]