~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/inkscape.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:
89
89
# FORWARD DECLARATIONS
90
90
################################*/
91
91
 
92
 
bool inkscape_app_use_gui( Inkscape::Application const * app );
 
92
gboolean inkscape_app_use_gui( Inkscape::Application const * app );
93
93
 
94
94
static void inkscape_class_init (Inkscape::ApplicationClass *klass);
95
95
static void inkscape_init (SPObject *object);
112
112
    GSList *documents;
113
113
    GSList *desktops;
114
114
    gchar *argv0;
115
 
    bool dialogs_toggle;
116
 
    bool use_gui;         // may want to consider a virtual function
 
115
    gboolean dialogs_toggle;
 
116
    gboolean use_gui;         // may want to consider a virtual function
117
117
                              // for overriding things like the warning dlg's
118
118
};
119
119
 
540
540
 
541
541
 
542
542
void
543
 
inkscape_application_init (const gchar *argv0, bool use_gui)
 
543
inkscape_application_init (const gchar *argv0, gboolean use_gui)
544
544
{
545
545
    inkscape = (Inkscape::Application *)g_object_new (SP_TYPE_INKSCAPE, NULL);
546
546
    /* fixme: load application defaults */
590
590
        return inkscape;
591
591
}
592
592
 
593
 
bool inkscape_app_use_gui( Inkscape::Application const * app )
 
593
gboolean inkscape_app_use_gui( Inkscape::Application const * app )
594
594
{
595
595
    return app->use_gui;
596
596
}