From f7978158a525ade0bce538489b54e1d36f3dcb71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Thu, 22 Jan 2009 20:33:21 +0000 Subject: [PATCH] Increase minimum required GTK version to 2.8. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3504 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 3 ++ HACKING | 20 ++++++------- README | 2 +- configure.in | 2 +- doc/geany.html | 10 +++---- doc/geany.txt | 4 +-- geany.nsi | 2 +- src/geany.h | 6 ---- src/notebook.c | 55 ------------------------------------ src/utils.c | 76 -------------------------------------------------- wscript | 2 +- 11 files changed, 24 insertions(+), 158 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9cf3f8ce6..dce9d8f4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,9 @@ instance which then brings the window to the front (grab focus). This should work better than the previous implementation and should avoid the blinking tasklist item. + * HACKING, README, wscript, configure.in, doc/geany.html, + doc/geany.txt, geany.nsi, src/geany.h, src/notebook.c, src/utils.c: + Increase minimum required GTK version to 2.8. 2009-01-22 Nick Treleaven diff --git a/HACKING b/HACKING index b3143e017..4bb8fd523 100644 --- a/HACKING +++ b/HACKING @@ -91,28 +91,28 @@ If you're in any doubt when making changes to plugin API code, just ask us. Glade ----- Use the code generation features of Glade instead of editing interface.c -or support.c. Glade 2.10 is recommended as long as we support GTK+ 2.6, -because later versions of Glade are not 100% compatible with GTK+ 2.6 -(e.g. they may use functions added in GTK+ 2.8). +or support.c. Glade 2.12 is recommended as long as we support GTK+ 2.8, +because later versions of Glade are not 100% compatible with GTK+ 2.8 +(e.g. they may use functions added in GTK+ 2.10). -You can build Glade 2.10 and run the binary in place, without installing +You can build Glade 2.12 and run the binary in place, without installing it - this should work fine even if you have another version of Glade installed on the system. GTK API documentation --------------------- -The official GTK 2.6 API documentation is not available online anymore, +The official GTK 2.8 API documentation is not available online anymore, so we put them on http://www.geany.org/manual/gtk/. There is also a tarball with all available files for download and use with devhelp. -Using the 2.6 API documentation of the GTK libs (including GLib, GDK and +Using the 2.8 API documentation of the GTK libs (including GLib, GDK and Pango) has the advantages that you don't get confused by any newer API additions and you don't have to take care about whether you can use them or not. -This is because Geany depends on GTK 2.6. API symbols from newer +This is because Geany depends on GTK 2.8. API symbols from newer GTK/GLib versions should be avoided to keep the source code building -against GTK 2.6. +against GTK 2.8. Coding ------ @@ -120,8 +120,8 @@ Coding them down into smaller static functions where possible. This makes code much easier to read and maintain. * Use GLib types and functions - e.g. g_free instead of free. -* Your code should build against GLib 2.6 and GTK 2.6. At least for the - moment, we want to keep the minimum requirement for GTK at 2.6 (of +* Your code should build against GLib 2.8 and GTK 2.8. At least for the + moment, we want to keep the minimum requirement for GTK at 2.8 (of course, you can use the GTK_CHECK_VERSION macro to protect code using later versions). * We currently try to support the old GCC 2.9.x compiler, diff --git a/README b/README index c406ad597..d4c3003d5 100644 --- a/README +++ b/README @@ -28,7 +28,7 @@ The basic features of Geany are: Requirements ------------ -For compiling Geany yourself, you will need the GTK (>= 2.6.0) libraries +For compiling Geany yourself, you will need the GTK (>= 2.8.0) libraries and header files. You will also need its dependency libraries and header files, such as Pango, Glib and ATK. All these files are available at http://www.gtk.org. diff --git a/configure.in b/configure.in index a6a4a3b3c..f4f3b4218 100644 --- a/configure.in +++ b/configure.in @@ -128,7 +128,7 @@ fi # GTK checks -gtk_modules="gtk+-2.0 >= 2.6.0" +gtk_modules="gtk+-2.0 >= 2.8.0" PKG_CHECK_MODULES(GTK, [$gtk_modules]) AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS) diff --git a/doc/geany.html b/doc/geany.html index 4a2b44cff..c5dc83151 100644 --- a/doc/geany.html +++ b/doc/geany.html @@ -6,7 +6,7 @@ Geany - +