[Xfce4-commits] <thunar-shares-plugin:master> Move to use gi18n-lib.h

Daniel Morales noreply at xfce.org
Tue Jan 26 05:24:04 CET 2010


Updating branch refs/heads/master
         to 7cc34b5f09e18ad024d11bef72fa1359beeb4934 (commit)
       from b34b746a39ddc0e7e6bd4604f988bfac784e3c81 (commit)

commit 7cc34b5f09e18ad024d11bef72fa1359beeb4934
Author: Daniel Morales <daniel at daniel.com.uy>
Date:   Tue Jan 26 01:57:13 2010 -0200

    Move to use gi18n-lib.h

 configure.in.in                      |    2 +-
 libshares/libshares-util.c           |    3 +++
 thunar-plugin/thunar-shares-plugin.c |    2 +-
 thunar-plugin/tsp-page.c             |    2 +-
 4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index 4825161..2e55da2 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -49,7 +49,7 @@ AC_PROG_INTLTOOL([0.31])
 dnl -------------------------------------------------------
 dnl Check headers
 dnl -------------------------------------------------------
-AC_CHECK_HEADERS([string.h sys/types.h sys/wait.h time.h]) 
+AC_CHECK_HEADERS([string.h sys/types.h sys/wait.h time.h sys/stat.h]) 
 
 dnl -------------------------------------------------------
 dnl Packages checks
diff --git a/libshares/libshares-util.c b/libshares/libshares-util.c
index 995cd1b..7aae885 100644
--- a/libshares/libshares-util.c
+++ b/libshares/libshares-util.c
@@ -22,10 +22,13 @@
 #include <config.h>
 #endif
 
+#ifdef HAVE_SYS_STAT_H
 #include <sys/stat.h>
+#endif
 
 #include <glib/gstdio.h>
 #include <gtk/gtk.h>
+#include <glib/gi18n-lib.h>
 
 #include <thunar-vfs/thunar-vfs.h>
 #include <thunarx/thunarx.h>
diff --git a/thunar-plugin/thunar-shares-plugin.c b/thunar-plugin/thunar-shares-plugin.c
index 9c88c15..20475b1 100644
--- a/thunar-plugin/thunar-shares-plugin.c
+++ b/thunar-plugin/thunar-shares-plugin.c
@@ -22,7 +22,7 @@
 #include <config.h>
 #endif
 
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 #include <libshares/shares.h>
 
 #include "tsp-provider.h"
diff --git a/thunar-plugin/tsp-page.c b/thunar-plugin/tsp-page.c
index f94c816..b8851c8 100644
--- a/thunar-plugin/tsp-page.c
+++ b/thunar-plugin/tsp-page.c
@@ -22,7 +22,7 @@
 #include <config.h>
 #endif
 
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 #include <gtk/gtk.h>
 
 #include <libshares/shares.h>



More information about the Xfce4-commits mailing list