~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/version.cpp

  • Committer: kidproto
  • Date: 2006-08-25 07:03:19 UTC
  • Revision ID: kidproto@users.sourceforge.net-20060825070319-49nso3fdlwuveifv
peeled back the gboolean code as it hit on some complexity theory principles...
need to rethink and incrementally change gbooleans to bools

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
#include <glib/gstrfuncs.h>
16
16
#include "version.h"
17
17
 
18
 
bool sp_version_from_string(const gchar *string, Inkscape::Version *version)
 
18
gboolean sp_version_from_string(const gchar *string, Inkscape::Version *version)
19
19
{
20
20
    if (!string) {
21
21
        return FALSE;
34
34
    return g_strdup_printf("%u.%u", version.major, version.minor);
35
35
}
36
36
 
37
 
bool sp_version_inside_range(Inkscape::Version version,
 
37
gboolean sp_version_inside_range(Inkscape::Version version,
38
38
                                 unsigned major_min, unsigned minor_min,
39
39
                                 unsigned major_max, unsigned minor_max)
40
40
{