1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Author: Matthias Klose <doko@ubuntu.com>
Date: Thu, 1 Sep 2011 13:03:19 UTC
Bug-Debian: http://bugs.debian.org/640004
Description: Add missing function prototype definition
--- libgtkdatabox.orig/gtk/gtkdatabox_graph.c
+++ libgtkdatabox/gtk/gtkdatabox_graph.c
@@ -17,6 +17,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+// avoid warning: assignment makes pointer from integer without a cast
+#undef GDK_DISABLE_DEPRECATED
+#include <gdk/gdk.h>
+
#include <gtkdatabox_graph.h>
#include <gtk/gtkstyle.h>
#include <gtk/gtkgc.h>
--- libgtkdatabox.orig/gtk/gtkdatabox_markers.c
+++ libgtkdatabox/gtk/gtkdatabox_markers.c
@@ -17,6 +17,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+// avoid warning: assignment makes pointer from integer without a cast
+#undef GDK_DISABLE_DEPRECATED
+#include <gdk/gdk.h>
+
#include <gtkdatabox_markers.h>
#include <pango/pango.h>
|