Turn the gtk version and age variables into functions
Having variables exported from a DLL is slightly painful and potentially error-prone on Windows, so let's try get rid of them now when we can. Starting with these.
This commit is contained in:
@ -22,64 +22,6 @@ typically use the features described here.
|
||||
<!-- ##### SECTION Image ##### -->
|
||||
|
||||
|
||||
<!-- ##### VARIABLE gtk_major_version ##### -->
|
||||
<para>
|
||||
The major version number of the GTK+ library. (e.g. in GTK+ version
|
||||
1.2.5 this is 1.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This variable is in the library, so represents the
|
||||
GTK+ library you have linked against. Contrast with the
|
||||
#GTK_MAJOR_VERSION macro, which represents the major version of the
|
||||
GTK+ headers you have included.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE gtk_minor_version ##### -->
|
||||
<para>
|
||||
The minor version number of the GTK+ library.
|
||||
(e.g. in GTK+ version 1.2.5 this is 2.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This variable is in the library, so represents the
|
||||
GTK+ library you have linked against. Contrast with the
|
||||
#GTK_MINOR_VERSION macro, which represents the minor version of the
|
||||
GTK+ headers you have included.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE gtk_micro_version ##### -->
|
||||
<para>
|
||||
The micro version number of the GTK+ library.
|
||||
(e.g. in GTK+ version 1.2.5 this is 5.)
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
This variable is in the library, so represents the GTK+ library you
|
||||
have linked against. Contrast with the #GTK_MICRO_VERSION macro, which
|
||||
represents the micro version of the GTK+ headers you have included.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE gtk_binary_age ##### -->
|
||||
<para>
|
||||
This is the binary age passed to <application>libtool</application>. If
|
||||
<application>libtool</application> means nothing to you, don't worry
|
||||
about it. ;-)
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### VARIABLE gtk_interface_age ##### -->
|
||||
<para>
|
||||
This is the interface age passed to <application>libtool</application>. If
|
||||
<application>libtool</application> means nothing to you, don't worry
|
||||
about it. ;-)
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_check_version ##### -->
|
||||
<para>
|
||||
</para>
|
||||
|
||||
Reference in New Issue
Block a user