[shotwell] Remove langinfo.vapi



commit 28cd09c496da5c85804d68de16bc45869cf61eda
Author: Jens Georg <mail jensge org>
Date:   Tue Aug 23 20:05:44 2016 +0200

    Remove langinfo.vapi
    
    Was already contained in Posix vapi, missed that
    
    Signed-off-by: Jens Georg <mail jensge org>

 Makefile.am        |    1 -
 shotwell.am        |    2 +-
 src/Printing.vala  |    2 +-
 src/Resources.vala |    2 +-
 vapi/langinfo.vapi |   25 -------------------------
 5 files changed, 3 insertions(+), 29 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 9087586..624642b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -145,7 +145,6 @@ dist_noinst_DATA += \
        plugins/shotwell-plugin-dev-1.0.h \
        plugins/shotwell-plugin-common.h \
        vapi/gphoto.h \
-       vapi/langinfo.vapi \
        vapi/libexif.vapi \
        vapi/libgphoto2.vapi \
        vapi/libraw.vapi \
diff --git a/shotwell.am b/shotwell.am
index 4ba8269..0cd59c9 100644
--- a/shotwell.am
+++ b/shotwell.am
@@ -16,7 +16,7 @@ shotwell_VALAFLAGS = $(COMMON_VALAFLAGS) \
        --vapidir $(abs_top_srcdir)/vapi \
        --pkg libgphoto2 --pkg posix --pkg libraw --pkg gexiv2 \
        --pkg libexif --pkg gudev-1.0 --pkg gstreamer-1.0 \
-       --pkg gstreamer-pbutils-1.0 --pkg langinfo \
+       --pkg gstreamer-pbutils-1.0 \
        $(UNITY_VALAFLAGS) \
        $(COMMON_VALAFLAGS_POST)
 
diff --git a/src/Printing.vala b/src/Printing.vala
index 34a35a4..1f255b3 100644
--- a/src/Printing.vala
+++ b/src/Printing.vala
@@ -513,7 +513,7 @@ public class CustomPrintTab : Gtk.Fixed {
         if (length == -1)
             length = (int) text.length;
 
-        unowned string decimal_point = Nl.langinfo (Nl.Item.RADIXCHAR);
+        unowned string decimal_point = Posix.nl_langinfo (Posix.NLItem.RADIXCHAR);
 
         bool contains_decimal_point = sender.get_text().contains(decimal_point);
 
diff --git a/src/Resources.vala b/src/Resources.vala
index 4fe1f69..cceb82b 100644
--- a/src/Resources.vala
+++ b/src/Resources.vala
@@ -775,7 +775,7 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc.,
         /// Locale-specific time format for 12-hour time with seconds, i.e. 8:31:42 PM
         /// Precede modifier with a dash ("-") to pad with spaces, otherwise will pad with zeroes
         /// See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
-        HH_MM_SS_FORMAT_STRING = Nl.langinfo (Nl.Item.T_FMT);
+        HH_MM_SS_FORMAT_STRING = Posix.nl_langinfo (Posix.NLItem.T_FMT);
 
         /// Locale-specific calendar date format, i.e. "Tue Mar 08, 2006"
         /// See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format


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