[gnome-documents] Switch string formatting to the one inside gjs



commit 0d7032f03620b75bc77cce8bd13d24a1f5960177
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jun 5 12:58:14 2012 -0400

    Switch string formatting to the one inside gjs
    
    Now that it ships one, we can use it instead of copy/pasting our own.

 src/Makefile-js.am |    1 -
 src/format.js      |   69 ----------------------------------------------------
 src/lib/gd-utils.c |   12 ---------
 src/lib/gd-utils.h |    2 -
 4 files changed, 0 insertions(+), 84 deletions(-)
---
diff --git a/src/Makefile-js.am b/src/Makefile-js.am
index aecea80..39d5ee3 100644
--- a/src/Makefile-js.am
+++ b/src/Makefile-js.am
@@ -28,7 +28,6 @@ dist_js_DATA = \
     view.js \
     windowMode.js \
     zpjMiner.js \
-    format.js \
     path.js
 
 jsutildir = $(pkgdatadir)/js/util/
diff --git a/src/lib/gd-utils.c b/src/lib/gd-utils.c
index da4a7b2..38c0075 100644
--- a/src/lib/gd-utils.c
+++ b/src/lib/gd-utils.c
@@ -649,15 +649,3 @@ gd_create_variant_from_pixbuf (GdkPixbuf *pixbuf)
                                                     g_object_ref (pixbuf)));
   return g_variant_ref_sink (variant);
 }
-
-/**
- * gd_format_int_alternative_output:
- * @intval:
- *
- * Returns: (transfer full):
- */
-gchar *
-gd_format_int_alternative_output (gint intval)
-{
-  return g_strdup_printf ("%Id", intval);
-}
diff --git a/src/lib/gd-utils.h b/src/lib/gd-utils.h
index b5b47de..d82e800 100644
--- a/src/lib/gd-utils.h
+++ b/src/lib/gd-utils.h
@@ -57,7 +57,5 @@ void   gd_entry_focus_hack (GtkWidget *entry,
 
 GVariant *gd_create_variant_from_pixbuf (GdkPixbuf *pixbuf);
 
-gchar * gd_format_int_alternative_output (gint intval);
-
 #endif /* __GD_UTILS_H__ */
                                   



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