[nautilus-actions] Remove unused nadp_reader_ifactory_provider_read_start() function



commit fa2ad08d2bd110666f75edc2bdfe8365a63256d3
Author: Pierre Wieser <pwieser trychlos org>
Date:   Fri Mar 26 18:49:09 2010 +0100

    Remove unused nadp_reader_ifactory_provider_read_start() function

 ChangeLog                              |    5 +++++
 src/io-desktop/nadp-desktop-provider.c |    2 +-
 src/io-desktop/nadp-reader.c           |   23 -----------------------
 src/io-desktop/nadp-reader.h           |    1 -
 4 files changed, 6 insertions(+), 25 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0de3cac..0613431 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -133,6 +133,11 @@
 
 2009-03-26 Pierre Wieser <pwieser trychlos org>
 
+	* src/io-desktop/nadp-desktop-provider.c:
+	* src/io-desktop/nadp-reader.c:
+	* src/io-desktop/nadp-reader.h
+	(nadp_reader_ifactory_provider_read_start): Removed unused function.
+
 	* src/io-desktop/nadp-desktop-file.c:
 	* src/io-desktop/nadp-desktop-file.h
 	(check_key_file): Check that we don't have a 'Hidden=true' key.
diff --git a/src/io-desktop/nadp-desktop-provider.c b/src/io-desktop/nadp-desktop-provider.c
index 68c30bc..d1e7faa 100644
--- a/src/io-desktop/nadp-desktop-provider.c
+++ b/src/io-desktop/nadp-desktop-provider.c
@@ -223,7 +223,7 @@ ifactory_provider_iface_init( NAIFactoryProviderInterface *iface )
 	g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
 
 	iface->get_version = ifactory_provider_get_version;
-	iface->read_start = nadp_reader_ifactory_provider_read_start;
+	iface->read_start = NULL;
 	iface->read_data = nadp_reader_ifactory_provider_read_data;
 	iface->read_done = nadp_reader_ifactory_provider_read_done;
 	iface->write_start = NULL;
diff --git a/src/io-desktop/nadp-reader.c b/src/io-desktop/nadp-reader.c
index cfbe565..5f7fe45 100644
--- a/src/io-desktop/nadp-reader.c
+++ b/src/io-desktop/nadp-reader.c
@@ -320,29 +320,6 @@ free_desktop_paths( GList *paths )
 }
 
 /*
- * called before starting with reading an object
- */
-void
-nadp_reader_ifactory_provider_read_start( const NAIFactoryProvider *reader, void *reader_data, const NAIFactoryObject *serializable, GSList **messages )
-{
-	static const gchar *thisfn = "nadp_reader_ifactory_provider_read_start";
-
-	g_debug( "%s: reader=%p (%s), reader_data=%p, serializable=%p (%s), messages=%p",
-			thisfn,
-			( void * ) reader, G_OBJECT_TYPE_NAME( reader ),
-			( void * ) reader_data,
-			( void * ) serializable, G_OBJECT_TYPE_NAME( serializable ),
-			( void * ) messages );
-
-	g_return_if_fail( NA_IS_IFACTORY_PROVIDER( reader ));
-	g_return_if_fail( NADP_IS_DESKTOP_PROVIDER( reader ));
-	g_return_if_fail( NA_IS_IFACTORY_OBJECT( serializable ));
-
-	if( !NADP_DESKTOP_PROVIDER( reader )->private->dispose_has_run ){
-	}
-}
-
-/*
  * reading any data from a desktop file requires:
  * - a NadpDesktopFile object which has been initialized with the .desktop file
  *   -> has been attached to the NAObjectItem in get_item() above
diff --git a/src/io-desktop/nadp-reader.h b/src/io-desktop/nadp-reader.h
index acffee1..71b743b 100644
--- a/src/io-desktop/nadp-reader.h
+++ b/src/io-desktop/nadp-reader.h
@@ -37,7 +37,6 @@ G_BEGIN_DECLS
 
 GList       *nadp_iio_provider_read_items( const NAIIOProvider *provider, GSList **messages );
 
-void         nadp_reader_ifactory_provider_read_start( const NAIFactoryProvider *reader, void *reader_data, const NAIFactoryObject *serializable, GSList **messages );
 NADataBoxed *nadp_reader_ifactory_provider_read_data( const NAIFactoryProvider *reader, void *reader_data, const NAIFactoryObject *serializable, const NADataDef *iddef, GSList **messages );
 void         nadp_reader_ifactory_provider_read_done( const NAIFactoryProvider *reader, void *reader_data, const NAIFactoryObject *serializable, GSList **messages );
 



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