[gnome-commander] Fix for invalid cast GnomeCmdFileList to GtkWindow in gnome_cmd_dialog_set_transient_for()



commit 679c87d9a585f856c74b693eba57f9dabbd4a295
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Jun 20 11:36:41 2010 +0200

    Fix for invalid cast GnomeCmdFileList to GtkWindow in gnome_cmd_dialog_set_transient_for()

 src/gnome-cmd-file-list.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 78a2793..390bf7d 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -1497,7 +1497,7 @@ static void create_con_open_progress_dialog (GnomeCmdFileList *fl)
 
     gnome_cmd_dialog_add_category (GNOME_CMD_DIALOG (fl->priv->con_open_dialog), vbox);
 
-    gnome_cmd_dialog_set_transient_for (GNOME_CMD_DIALOG (fl->priv->con_open_dialog), GTK_WINDOW (fl));
+    gnome_cmd_dialog_set_transient_for (GNOME_CMD_DIALOG (fl->priv->con_open_dialog), *main_win);
     gtk_widget_show_all (fl->priv->con_open_dialog);
 }
 



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