[gthumb] Deleted an unused function, and marked one as static



commit 95ee2e0f4d4c941bd1d3d181961fd0338292792a
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date:   Thu Apr 23 12:38:37 2009 -0400

    Deleted an unused function, and marked one as static
---
 libgthumb/file-utils.c |   11 +----------
 libgthumb/file-utils.h |    2 --
 2 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/libgthumb/file-utils.c b/libgthumb/file-utils.c
index 19e2203..31da7d3 100644
--- a/libgthumb/file-utils.c
+++ b/libgthumb/file-utils.c
@@ -72,7 +72,7 @@
 /* Async directory list */
 
 
-PathListData *
+static PathListData *
 path_list_data_new (void)
 {
 	PathListData *pli;
@@ -119,15 +119,6 @@ path_list_data_free (PathListData *pli)
 }
 
 
-void
-path_list_handle_free (PathListHandle *handle)
-{
-	if (handle->pli_data != NULL)
-		path_list_data_free (handle->pli_data);
-	g_free (handle);
-}
-
-
 static void
 directory_load_cb (GnomeVFSAsyncHandle *handle,
 		   GnomeVFSResult       result,
diff --git a/libgthumb/file-utils.h b/libgthumb/file-utils.h
index db185ea..7c5b810 100644
--- a/libgthumb/file-utils.h
+++ b/libgthumb/file-utils.h
@@ -68,9 +68,7 @@ typedef struct {
 	PathListData *pli_data;
 } PathListHandle;
 
-PathListData *      path_list_data_new            (void);
 void                path_list_data_free           (PathListData       *dli);
-void                path_list_handle_free         (PathListHandle     *handle);
 PathListHandle *    path_list_async_new           (const char         *uri,
 						   PathListFilterFunc  filter_func,
 		     				   gpointer            filter_data,



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