summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2012-11-03 13:14:15 +0100
committerMartin Pitt <martinpitt@gnome.org>2012-11-03 13:14:15 +0100
commit8d52bceb1e0aa0dc79cf77f36dda9f953f170459 (patch)
tree864964fbc623ec005efaf7bfecdfbbeeb07523b5 /docs
parent9f96325e75f7c5f88789ea3f74a068e73cfde1a2 (diff)
downloadpygobject-8d52bceb1e0aa0dc79cf77f36dda9f953f170459.tar.gz
Drop static glib_version and pyglib_version constants
Use the GLib version from GI instead, and the already existing gi.version_info.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/pyglib-constants.xml50
-rw-r--r--docs/reference/pygobject-constants.xml19
2 files changed, 0 insertions, 69 deletions
diff --git a/docs/reference/pyglib-constants.xml b/docs/reference/pyglib-constants.xml
deleted file mode 100644
index 6f24308c..00000000
--- a/docs/reference/pyglib-constants.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-
-<refentry id="glib-constants">
- <refnamediv>
- <refname>glib Constants</refname>
- <refpurpose>the built-in constants of the glib module</refpurpose>
- </refnamediv>
-
- <refsect1>
- <title>Synopsis</title>
-
- <programlisting>
-<xref linkend="glib-version-constants" endterm="glib-version-constants-title"></xref>
-</programlisting>
-
- </refsect1>
-
- <refsect1 id="glib-constants-description">
- <title>Description</title>
-
- <refsect2 id="glib-version-constants">
- <title id="glib-version-constants-title">Glib Version Constants</title>
- <para>The Version constants specify the version of
-<literal>Glib</literal> used by PyGObject as a 3-tuple containing the major,
-minor and patch release numbers.</para>
-
- <variablelist>
- <varlistentry>
- <term><literal>glib.glib_version</literal></term>
- <listitem>
- <simpara>A 3-tuple containing (major, minor, patch) release
- numbers of glib.</simpara>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>glib.pyglib_version</literal></term>
- <listitem>
- <simpara>A 3-tuple containing (major, minor, patch) release
- numbers of the python bindings.</simpara>
- </listitem>
- </varlistentry>
- </variablelist>
-
- </refsect2>
-
- </refsect1>
-
-</refentry>
diff --git a/docs/reference/pygobject-constants.xml b/docs/reference/pygobject-constants.xml
index 07c3fddb..ed217f7b 100644
--- a/docs/reference/pygobject-constants.xml
+++ b/docs/reference/pygobject-constants.xml
@@ -299,25 +299,6 @@ by gobject.</para>
</refsect2>
- <refsect2 id="gobject-version-constants">
- <title id="gobject-version-constants-title">GObject Version Constants</title>
-
- <para>The Version constants specify the version of
-<literal>GLIB</literal> used by PyGTK as a 3-tuple containing the major,
-minor and patch release numbers.</para>
-
- <variablelist>
- <varlistentry>
- <term><literal>gobject.glib_version</literal></term>
- <listitem>
- <simpara>A 3-tuple containing (major, minor, patch) release
- numbers.</simpara>
- </listitem>
- </varlistentry>
- </variablelist>
-
- </refsect2>
-
</refsect1>
</refentry>