[gnome-documents/wip/skydrive: 27/28] lib: export gd_filename_get_extension_offset
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/skydrive: 27/28] lib: export gd_filename_get_extension_offset
- Date: Mon, 4 Jun 2012 17:34:35 +0000 (UTC)
commit 2cca134846eacc8ba98b3d7093792b415d0261f4
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]