diff options
| author | Jon Phillips <jon@fabricatorz.com> | 2006-08-25 07:03:19 +0000 |
|---|---|---|
| committer | kidproto <kidproto@users.sourceforge.net> | 2006-08-25 07:03:19 +0000 |
| commit | 5d6f51f32ca2356b0d6155015457a83e60b314e8 (patch) | |
| tree | 835131f8041d12103ea82dc6b23917443f61cd42 /src/inkscape.cpp | |
| parent | I peeled back my changes because of some deep error. (diff) | |
| download | inkscape-5d6f51f32ca2356b0d6155015457a83e60b314e8.tar.gz inkscape-5d6f51f32ca2356b0d6155015457a83e60b314e8.zip | |
peeled back the gboolean code as it hit on some complexity theory principles...
need to rethink and incrementally change gbooleans to bools
(bzr r1637)
Diffstat (limited to 'src/inkscape.cpp')
| -rw-r--r-- | src/inkscape.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp index f976f6682..d3cc1aa00 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -89,7 +89,7 @@ enum { # FORWARD DECLARATIONS ################################*/ -bool inkscape_app_use_gui( Inkscape::Application const * app ); +gboolean inkscape_app_use_gui( Inkscape::Application const * app ); static void inkscape_class_init (Inkscape::ApplicationClass *klass); static void inkscape_init (SPObject *object); @@ -112,8 +112,8 @@ struct Inkscape::Application { GSList *documents; GSList *desktops; gchar *argv0; - bool dialogs_toggle; - bool use_gui; // may want to consider a virtual function + gboolean dialogs_toggle; + gboolean use_gui; // may want to consider a virtual function // for overriding things like the warning dlg's }; @@ -540,7 +540,7 @@ inkscape_segv_handler (int signum) void -inkscape_application_init (const gchar *argv0, bool use_gui) +inkscape_application_init (const gchar *argv0, gboolean use_gui) { inkscape = (Inkscape::Application *)g_object_new (SP_TYPE_INKSCAPE, NULL); /* fixme: load application defaults */ @@ -590,7 +590,7 @@ inkscape_get_instance() return inkscape; } -bool inkscape_app_use_gui( Inkscape::Application const * app ) +gboolean inkscape_app_use_gui( Inkscape::Application const * app ) { return app->use_gui; } |
