~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/file.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:
1097
1097
 
1098
1098
}
1099
1099
 
1100
 
void Inkscape::IO::fixupHrefs( SPDocument *doc, const gchar *base, bool spns )
 
1100
void Inkscape::IO::fixupHrefs( SPDocument *doc, const gchar *base, gboolean spns )
1101
1101
{
1102
1102
    //g_message("Inkscape::IO::fixupHrefs( , [%s], )", base );
1103
1103
 
1125
1125
            try
1126
1126
            {
1127
1127
                URI uri(things[i]);
1128
 
                bool isAbs = g_path_is_absolute( things[i] );
 
1128
                gboolean isAbs = g_path_is_absolute( things[i] );
1129
1129
                gchar *str = uri.toString();
1130
1130
                g_message( "abs:%d  isRel:%d  scheme:[%s]  path:[%s][%s]   uri[%s] / [%s]", (int)isAbs,
1131
1131
                           (int)uri.isRelative(),
1144
1144
                if ( redo == NULL )
1145
1145
                {
1146
1146
                    URI again = URI::fromUtf8( things[i] );
1147
 
                    bool isAbs = g_path_is_absolute( things[i] );
 
1147
                    gboolean isAbs = g_path_is_absolute( things[i] );
1148
1148
                    gchar *str = again.toString();
1149
1149
                    g_message( "abs:%d  isRel:%d  scheme:[%s]  path:[%s][%s]   uri[%s] / [%s]", (int)isAbs,
1150
1150
                               (int)again.isRelative(),