[gnome-documents/wip/skydrive: 27/28] lib: export gd_filename_get_extension_offset



commit 580b650dbbd4791e5d91e67746ee90a7a5cbc1f9
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Jun 2 00:57:16 2012 +0200

    lib: export gd_filename_get_extension_offset
    
    Fixes: https://bugzilla.gnome.org/666535

 src/lib/gd-utils.c |    2 +-
 src/lib/gd-utils.h |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/lib/gd-utils.c b/src/lib/gd-utils.c
index b6f15cf..bb2949b 100644
--- a/src/lib/gd-utils.c
+++ b/src/lib/gd-utils.c
@@ -346,7 +346,7 @@ gd_embed_image_in_frame (GdkPixbuf *source_image,
   return retval;
 }
 
-static char *
+const char *
 gd_filename_get_extension_offset (const char *filename)
 {
 	char *end, *end2;
diff --git a/src/lib/gd-utils.h b/src/lib/gd-utils.h
index 6812c6c..d95fb65 100644
--- a/src/lib/gd-utils.h
+++ b/src/lib/gd-utils.h
@@ -62,6 +62,8 @@ GdkPixbuf *gd_embed_image_in_frame (GdkPixbuf *source_image,
                                     GtkBorder *slice_width,
                                     GtkBorder *border_width);
 
+const char *gd_filename_get_extension_offset (const char *filename);
+
 char *gd_filename_strip_extension (const char * filename_with_extension);
 
 const char *gd_filename_to_mime_type (const gchar *filename_with_extension);



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