From 5d6f51f32ca2356b0d6155015457a83e60b314e8 Mon Sep 17 00:00:00 2001 From: Jon Phillips Date: Fri, 25 Aug 2006 07:03:19 +0000 Subject: peeled back the gboolean code as it hit on some complexity theory principles... need to rethink and incrementally change gbooleans to bools (bzr r1637) --- src/inkscape.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/inkscape.cpp') 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; } -- cgit v1.2.3