diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2012-09-11 01:31:01 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-11 07:59:53 -0700 |
commit | 0fceb1c9070eb2b1c65f26e665d49ee54cc4e17e (patch) | |
tree | 74f10108465951dc67ef8807ec611e9f2b60580f /dive.h | |
parent | ae33b5ef524ceb53da0b8b4fc278d28797adb11d (diff) | |
download | subsurface-0fceb1c9070eb2b1c65f26e665d49ee54cc4e17e.tar.gz |
Better compatibility with older GTK and Cairo
divelist.c:
Replaced "gtk_tree_path_get_indices_with_depth()" with the coupled alternative:
int depth = gtk_tree_path_get_depth(path);
int *indices = gtk_tree_path_get_indices(path);
for compatibility GTK+ < 2.22
*:
Replaced all usage of "cairo_rectangle_int_t" with "cairo_rectangle_t"
for compatibility with Cairo < 1.10.
Both modification make building Subsurface possible on a fairly recent Debian
distribution, which reports to have the version of the abovementioned
libraries "up-to-date", yet they are slightly outdated.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
0 files changed, 0 insertions, 0 deletions