Code

more compiler hints for gtk-2.4 systems to cope with glibmm/i18n.h
authorrwst <rwst@users.sourceforge.net>
Sat, 24 Jun 2006 18:08:56 +0000 (18:08 +0000)
committerrwst <rwst@users.sourceforge.net>
Sat, 24 Jun 2006 18:08:56 +0000 (18:08 +0000)
src/extension/dependency.cpp
src/gradient-drag.cpp
src/ui/widget/ruler.cpp

index 6db57174cf97c0d65fca0811946ad44eed3eb56f..5a8046613dd775198543f8e43c738c8fa59f4afc 100644 (file)
@@ -8,6 +8,10 @@
  */
 
 
+extern "C" {           // glib-2.4 needs this
+#include <libintl.h>
+}
+
 #include <glibmm/i18n.h>
 
 #include "config.h"
index cb61a9890e044440e7e1a4b4e97595d1e923f9fa..0c0e139f7a2ea0cb341550bf108d05fc32aa9d67 100644 (file)
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+extern "C" {           // glib-2.4 needs this
+#include <libintl.h>
+}
+
 #include <glibmm/i18n.h>
 
 #include "desktop-handles.h"
index 8109ef5f5ddcf62cca8dcebc8a9a0f2197b142e1..fbed6c84515835fa2eacf5efce3e6425c8be180c 100644 (file)
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+extern "C" {           // glib-2.4 needs this
+#include <libintl.h>
+}
+
 #include <glibmm/i18n.h>
 
 #include <gtkmm/ruler.h>