Re: Trouble installing GTK+



Ian Allman wrote:

I want to develop Graphical User Interfaces on the Linux Framebuffer. I have downloaded GTK+-2.4.4 and the necessary glib and pango requirements.
I configure GTK with
./configure --with-gdktarget=linux-fb
However the make command results in the following errors:
gdkwindow-fb.c:1445: conflicting types for `gdk_window_set_background'

../../gdk/gdkwindow.h:435: previous declaration of `gdk_window_set_background'


You need this patch:

diff -Naur gtk+-2.4.4.orig/gdk/linux-fb/gdkwindow-fb.c gtk+-2.4.4/gdk/linux-fb/gdkwindow-fb.c
--- gtk+-2.4.4.orig/gdk/linux-fb/gdkwindow-fb.c	2004-07-10 05:02:09.000000000 +0100
+++ gtk+-2.4.4/gdk/linux-fb/gdkwindow-fb.c	2004-07-15 12:14:05.000000000 +0100
@@ -1440,7 +1440,7 @@
 }

 void
-gdk_window_set_background (const GdkWindow *window,
+gdk_window_set_background (GdkWindow *window,
 			   const GdkColor  *color)
 {
   GdkWindowObject *private = (GdkWindowObject *)window;
@@ -2342,3 +2342,10 @@

   return (GdkWindow*) (anid);
 }
+
+void
+_gdk_windowing_window_destroy_foreign (GdkWindow *window)
+{
+
+}
+

Best regards,
José Gonçalves




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