[almanah] core: Fix viewing results of import operations



commit 523de8fa86af7cb85298db4f6d03ec4f44a2d281
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Mar 25 22:17:22 2012 +0100

    core: Fix viewing results of import operations

 src/import-export-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/import-export-dialog.c b/src/import-export-dialog.c
index bc9fb8d..a43e354 100644
--- a/src/import-export-dialog.c
+++ b/src/import-export-dialog.c
@@ -562,7 +562,7 @@ select_date (AlmanahImportResultsDialog *self, GtkTreeModel *model, GtkTreeIter
 	                    2, &year,
 	                    -1);
 
-	main_window = ALMANAH_MAIN_WINDOW (gtk_window_get_transient_for (GTK_WINDOW (self)));
+	main_window = ALMANAH_MAIN_WINDOW (gtk_window_get_transient_for (gtk_window_get_transient_for (GTK_WINDOW (self))));
 	g_date_set_dmy (&date, day, month, year);
 	almanah_main_window_select_date (main_window, &date);
 }



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