[nautilus-actions] find_export_format_fn_from_quark(): fix calls



commit a328e0feb60fef7030236567a2665d6e797f2e68
Author: Pierre Wieser <pwieser trychlos org>
Date:   Mon Jan 16 05:14:57 2012 +0100

    find_export_format_fn_from_quark(): fix calls

 ChangeLog                    |    4 ++++
 src/io-desktop/nadp-writer.c |    4 ++--
 src/io-xml/naxml-writer.c    |    6 +++---
 3 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5d00504..d497907 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,10 @@
 	* docs/nact/C/nact-conditions.xml: Embeds literal values between
 	<literal>..</literal> tags.
 
+	* src/io-desktop/nadp-writer.c (nadp_writer_iexporter_export_to_buffer):
+	* src/io-xml/naxml-writer.c (naxml_writer_export_to_buffer):
+	Fix find_export_format_fn_from_quark() calls.
+
 	* src/api/na-iimporter.h: Fix comment.
 
 	* po/POTFILES.in: Reference two new files.
diff --git a/src/io-desktop/nadp-writer.c b/src/io-desktop/nadp-writer.c
index 43376bc..afac46a 100644
--- a/src/io-desktop/nadp-writer.c
+++ b/src/io-desktop/nadp-writer.c
@@ -374,7 +374,7 @@ nadp_writer_iexporter_export_to_buffer( const NAIExporter *instance, NAIExporter
 
 #ifdef NA_ENABLE_DEPRECATED
 		if( parms->version == 1 ){
-			fmt = find_export_format_fn_from_quark(( NAIExporterBufferParmsv1 * ) parms->format );
+			fmt = find_export_format_fn_from_quark((( NAIExporterBufferParmsv1 * ) parms )->format );
 		} else {
 			fmt = find_export_format_fn( parms->format );
 		}
@@ -434,7 +434,7 @@ nadp_writer_iexporter_export_to_file( const NAIExporter *instance, NAIExporterFi
 
 #ifdef NA_ENABLE_DEPRECATED
 		if( parms->version == 1 ){
-			fmt = find_export_format_fn_from_quark(( NAIExporterFileParmsv1 * ) parms->format );
+			fmt = find_export_format_fn_from_quark((( NAIExporterFileParmsv1 * ) parms )->format );
 		} else {
 			fmt = find_export_format_fn( parms->format );
 		}
diff --git a/src/io-xml/naxml-writer.c b/src/io-xml/naxml-writer.c
index 33315cd..6f9d5c5 100644
--- a/src/io-xml/naxml-writer.c
+++ b/src/io-xml/naxml-writer.c
@@ -295,7 +295,7 @@ naxml_writer_export_to_buffer( const NAIExporter *instance, NAIExporterBufferPar
 		writer->private->messages = parms->messages;
 #ifdef NA_ENABLE_DEPRECATED
 		if( parms->version == 1 ){
-			writer->private->fn_str = find_export_format_fn_from_quark(( NAIExporterBufferParmsv1 * ) parms->format );
+			writer->private->fn_str = find_export_format_fn_from_quark((( NAIExporterBufferParmsv1 * ) parms )->format );
 		} else {
 			writer->private->fn_str = find_export_format_fn( parms->format );
 		}
@@ -353,8 +353,8 @@ naxml_writer_export_to_file( const NAIExporter *instance, NAIExporterFileParms *
 		writer->private->messages = parms->messages;
 #ifdef NA_ENABLE_DEPRECATED
 		if( parms->version == 1 ){
-			writer->private->fn_str = find_export_format_fn_from_quark(( NAIExporterFileParmsv1 * ) parms->format );
-			format2 = g_quark_to_string(( NAIExporterFileParmsv1 * ) parms->format );
+			writer->private->fn_str = find_export_format_fn_from_quark((( NAIExporterFileParmsv1 * ) parms )->format );
+			format2 = g_quark_to_string((( NAIExporterFileParmsv1 * ) parms )->format );
 		} else {
 			writer->private->fn_str = find_export_format_fn( parms->format );
 			format2 = parms->format;



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