Le 10/09/2010 13:25, Nick Treleaven a écrit : > On Fri, 10 Sep 2010 03:48:41 +0200 > Colomban Wendling <[email protected]> wrote: > >>>>>>> [1] at least it wasn't possible without fixing an issue in GTK 2.20, see >>>>>>> https://bugzilla.gnome.org/show_bug.cgi?id=618639 >>>>>> >>>>>> So part of GTK 2.x isn't usable? Why won't they fix the bug? Surely >>>>>> deprecated stuff should be supported until 3.x. >>>>> >>>>> With GTK, in general deprecated seems to mean unsupported, so unlikely >>>>> :-(. >>>> >>>> This seems bad for a toolkit as important as GTK. > >> Yeah, I think it's weird especially because the fix is really trivial >> (see below). > >>>>>> Glade 2.12.2 is about 2.5 years old so I think it's not too old for GTK >>>>>> to drop support for it. >>>>> >>>>> Nobody is interested in it, its even hard to find a download of 2.12 >>>> >>>> Latest Fedora still seems to package it: >>>> http://rpmfind.net/linux/rpm2html/search.php?query=glade2&system=fedora >>> >>> Must be using an older GTK or maybe they hacked a fix. >> As said, the only thing that's needed is to move includes outside header >> guards, and you're done. > > Maybe they would accept a patch? I've just proposed a patch [1], I'll wait a bit to see if there is some reactions. If no, I'll ask and we'll see.
Anyway, I've just tried to fix the build in the glade side, and the result is a really trivial patch that I attach here -- it may be available for download together with the glade tarball or you could even patch the tarball. Regards, Colomban [1] https://bugzilla.gnome.org/show_bug.cgi?id=618639#c3
diff -ura glade-2.12.2-orig/glade/gbwidgets/gbclist.c glade-2.12.2/glade/gbwidgets/gbclist.c --- glade-2.12.2-orig/glade/gbwidgets/gbclist.c 2007-12-08 23:56:06.000000000 +0100 +++ glade-2.12.2/glade/gbwidgets/gbclist.c 2010-09-12 00:45:03.001823758 +0200 @@ -19,6 +19,7 @@ #include <string.h> +#include <gtk/gtk.h> #include <gtk/gtkclist.h> #include <gtk/gtkhbox.h> #include <gtk/gtkmain.h> diff -ura glade-2.12.2-orig/glade/glade_keys_dialog.c glade-2.12.2/glade/glade_keys_dialog.c --- glade-2.12.2-orig/glade/glade_keys_dialog.c 2007-12-08 23:56:06.000000000 +0100 +++ glade-2.12.2/glade/glade_keys_dialog.c 2010-09-12 00:46:36.794527866 +0200 @@ -23,6 +23,7 @@ #include <string.h> +#include <gtk/gtk.h> #include <gtk/gtkbox.h> #include <gtk/gtkbutton.h> #include <gtk/gtkclist.h> diff -ura glade-2.12.2-orig/glade/glade_menu_editor.c glade-2.12.2/glade/glade_menu_editor.c --- glade-2.12.2-orig/glade/glade_menu_editor.c 2007-12-08 23:56:06.000000000 +0100 +++ glade-2.12.2/glade/glade_menu_editor.c 2010-09-12 00:47:06.686331060 +0200 @@ -25,6 +25,7 @@ #include <string.h> #include <time.h> +#include <gtk/gtk.h> #include <gdk/gdkkeysyms.h> #include <gtk/gtkarrow.h> #include <gtk/gtkaccellabel.h> diff -ura glade-2.12.2-orig/glade/glade_project_view.h glade-2.12.2/glade/glade_project_view.h --- glade-2.12.2-orig/glade/glade_project_view.h 2007-12-08 23:56:06.000000000 +0100 +++ glade-2.12.2/glade/glade_project_view.h 2010-09-12 00:47:55.729858192 +0200 @@ -18,6 +18,7 @@ #ifndef GLADE_PROJECT_VIEW_H #define GLADE_PROJECT_VIEW_H +#include <gtk/gtk.h> #include <gtk/gtkclist.h> #include "glade_project.h"
_______________________________________________ Geany-devel mailing list [email protected] http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
