[gthumb/ext] fixed compilation warning



commit 809402183fdaa25eed1f1eb15c3ee0501b6491d9
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Sep 22 12:42:57 2009 +0200

    fixed compilation warning

 extensions/file_tools/gth-file-tool-save-as.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/file_tools/gth-file-tool-save-as.c b/extensions/file_tools/gth-file-tool-save-as.c
index 92d17d5..2612776 100644
--- a/extensions/file_tools/gth-file-tool-save-as.c
+++ b/extensions/file_tools/gth-file-tool-save-as.c
@@ -33,7 +33,7 @@ gth_file_tool_save_as_update_sensitivity (GthFileTool *base)
 
 	window = gth_file_tool_get_window (base);
 
-	can_save = gth_viewer_page_can_save (gth_browser_get_viewer_page (GTH_BROWSER (window)));
+	can_save = gth_viewer_page_can_save (GTH_VIEWER_PAGE (gth_browser_get_viewer_page (GTH_BROWSER (window))));
 	can_save = can_save && (gth_browser_get_current_file (GTH_BROWSER (window)) != NULL);
 	gtk_widget_set_sensitive (GTK_WIDGET (base), can_save);
 }



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