*** Plucked rev ea18c8ce78c0229a5b968aab268f38e9bcae0aee (8e1d807c1aadfb510e14f047d2cf00e0c06be465):
Fix building finch & libgnt using older gcc or non-gcc compilers that do
not understand G_GNUC_NULL_TERMINATED
--- a/gntinternal.h Fri Nov 20 21:48:29 2009 +0000
+++ b/gntinternal.h Fri Jan 08 01:30:43 2010 +0000
@@ -32,6 +32,14 @@
# define gnt_warning g_warning
+#ifndef G_GNUC_NULL_TERMINATED +# if defined(__GNUC__) && __GNUC__ >= 4 +# define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) +# define G_GNUC_NULL_TERMINATED extern int gnt_need_conversation_to_locale;
extern const char *C_(const char *x);
--- a/gntline.c Fri Nov 20 21:48:29 2009 +0000
+++ b/gntline.c Fri Jan 08 01:30:43 2010 +0000
@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include "gntinternal.h" --- a/gntmenuitem.c Fri Nov 20 21:48:29 2009 +0000
+++ b/gntmenuitem.c Fri Jan 08 01:30:43 2010 +0000
@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include "gntinternal.h" --- a/gntmenuitemcheck.c Fri Nov 20 21:48:29 2009 +0000
+++ b/gntmenuitemcheck.c Fri Jan 08 01:30:43 2010 +0000
@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include "gntinternal.h" #include "gntmenuitemcheck.h"
static GntMenuItemClass *parent_class = NULL;
--- a/gntprogressbar.c Fri Nov 20 21:48:29 2009 +0000
+++ b/gntprogressbar.c Fri Jan 08 01:30:43 2010 +0000
@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include "gntinternal.h" #include "gntprogressbar.h"
--- a/gntslider.c Fri Nov 20 21:48:29 2009 +0000
+++ b/gntslider.c Fri Jan 08 01:30:43 2010 +0000
@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include "gntinternal.h" --- a/gntwidget.c Fri Nov 20 21:48:29 2009 +0000
+++ b/gntwidget.c Fri Jan 08 01:30:43 2010 +0000
@@ -22,6 +22,7 @@
/* Stuff brutally ripped from Gflib */
+#include "gntinternal.h" --- a/gntwindow.c Fri Nov 20 21:48:29 2009 +0000
+++ b/gntwindow.c Fri Jan 08 01:30:43 2010 +0000
@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include "gntinternal.h" --- a/wms/irssi.c Fri Nov 20 21:48:29 2009 +0000
+++ b/wms/irssi.c Fri Jan 08 01:30:43 2010 +0000
@@ -33,6 +33,8 @@
+#include "gntinternal.h"