Kaydet (Commit) dac3d644 authored tarafından Enrico Tröger's avatar Enrico Tröger

More GTK 2.8 => GTK 2.12 transition.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5862 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 59141769
2011-06-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, doc/geany.txt, doc/geany.html, README, HACKING,
geany.pc.in:
More GTK 2.8 => GTK 2.12 transition.
2011-06-20 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/document.h, src/keyfile.c, doc/geany.txt,
......
......@@ -115,9 +115,9 @@ Doc-comments
Glade
-----
Use the code generation features of Glade instead of editing interface.c
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).
or support.c. Glade 2.12 is required as later Glade versions do not
have the code generation features anymore. At some point we'll switch to
GtkBuilder, probably.
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
......@@ -156,8 +156,8 @@ Coding
them down into smaller static functions where possible. This makes code
much easier to read and maintain.
* Use GLib types and functions - gint not int, g_free() not free().
* 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
* Your code should build against GLib 2.16 and GTK 2.12. At least for the
moment, we want to keep the minimum requirement for GTK at 2.12 (of
course, you can use the GTK_CHECK_VERSION macro to protect code using
later versions).
* Variables should be declared before statements. You can use
......
......@@ -28,10 +28,10 @@ The basic features of Geany are:
Requirements
------------
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.
For compiling Geany yourself, you will need the GTK (>= 2.12.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.
Furthermore you need, of course, a C compiler and the Make tool; a C++
compiler is also needed for the required Scintilla library included. The
......
......@@ -6,7 +6,7 @@
<meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" />
<title>Geany</title>
<meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" />
<meta name="date" content="$Date$" />
<meta name="date" content="2011-06-20" />
<style type="text/css">
/*
......@@ -139,7 +139,7 @@ Stylesheet for Geany's documentation based on a version of John Gabriele.
<br />Nick Treleaven
<br />Frank Lanitz</td></tr>
<tr><th class="docinfo-name">Date:</th>
<td>$Date$</td></tr>
<td>2011-06-20</td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>0.21</td></tr>
</tbody>
......@@ -568,7 +568,7 @@ The latest version can always be found at <a class="reference external" href="ht
<h1><a class="toc-backref" href="#id12">Installation</a></h1>
<div class="section" id="requirements">
<h2><a class="toc-backref" href="#id13">Requirements</a></h2>
<p>You will need the GTK (&gt;= 2.8.0) libraries and their dependencies
<p>You will need the GTK (&gt;= 2.12.0) libraries and their dependencies
(Pango, GLib and ATK). Your distro should provide packages for these,
usually installed by default. For Windows, you can download an installer
from the website which bundles these libraries.</p>
......@@ -581,7 +581,7 @@ incomplete list see <a class="reference external" href="http://www.geany.org/Dow
<div class="section" id="source-compilation">
<h2><a class="toc-backref" href="#id15">Source compilation</a></h2>
<p>Compiling Geany is quite easy.
To do so, you need the GTK (&gt;= 2.8.0) libraries and header files.
To do so, you need the GTK (&gt;= 2.12.0) libraries and header files.
You also need the Pango, GLib and ATK libraries and header files.
All these files are available at <a class="reference external" href="http://www.gtk.org">http://www.gtk.org</a>, but very often
your distro will provide development packages to save the trouble of
......@@ -6579,7 +6579,7 @@ USE OR PERFORMANCE OF THIS SOFTWARE.</p>
<div class="footer">
<hr class="footer" />
<a class="reference external" href="geany.txt">View document source</a>.
Generated on: 2011-06-20 15:39 UTC.
Generated on: 2011-06-26 21:26 UTC.
Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
</div>
......
......@@ -100,7 +100,7 @@ Installation
Requirements
------------
You will need the GTK (>= 2.8.0) libraries and their dependencies
You will need the GTK (>= 2.12.0) libraries and their dependencies
(Pango, GLib and ATK). Your distro should provide packages for these,
usually installed by default. For Windows, you can download an installer
from the website which bundles these libraries.
......@@ -117,7 +117,7 @@ Source compilation
------------------
Compiling Geany is quite easy.
To do so, you need the GTK (>= 2.8.0) libraries and header files.
To do so, you need the GTK (>= 2.12.0) libraries and header files.
You also need the Pango, GLib and ATK libraries and header files.
All these files are available at http://www.gtk.org, but very often
your distro will provide development packages to save the trouble of
......
......@@ -8,7 +8,7 @@ localedir=@localedir@
Name: Geany
Description: A fast and lightweight IDE using GTK2
Requires: gtk+-2.0 >= 2.8.0
Requires: gtk+-2.0 >= 2.12.0
Version: @VERSION@
Libs: -L${libdir}
Cflags: -DGTK -I${includedir}/geany -I${includedir}/geany/tagmanager -I${includedir}/geany/scintilla
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment