diff options
| author | Jon Phillips <jon@fabricatorz.com> | 2006-08-23 07:08:06 +0000 |
|---|---|---|
| committer | kidproto <kidproto@users.sourceforge.net> | 2006-08-23 07:08:06 +0000 |
| commit | 10880dbfba9afd5a963f5bb36fe9a3707c1c35a1 (patch) | |
| tree | 7a73cfffbb81131a0dfb9c6d799325e363615e8a /src/inkscape.cpp | |
| parent | Updated his name and copyright info... (diff) | |
| download | inkscape-10880dbfba9afd5a963f5bb36fe9a3707c1c35a1.tar.gz inkscape-10880dbfba9afd5a963f5bb36fe9a3707c1c35a1.zip | |
Ok, committed msgloan's patch to convert gbooleans to bools thus completing
one major janitorial task we identified....
(bzr r1633)
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 d3cc1aa00..f976f6682 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -89,7 +89,7 @@ enum { # FORWARD DECLARATIONS ################################*/ -gboolean inkscape_app_use_gui( Inkscape::Application const * app ); +bool 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; - gboolean dialogs_toggle; - gboolean use_gui; // may want to consider a virtual function + bool dialogs_toggle; + bool 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, gboolean use_gui) +inkscape_application_init (const gchar *argv0, bool 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; } -gboolean inkscape_app_use_gui( Inkscape::Application const * app ) +bool inkscape_app_use_gui( Inkscape::Application const * app ) { return app->use_gui; } |
