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/main.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/main.cpp')
| -rw-r--r-- | src/main.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9b6756ac6..6e184f4d7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -157,33 +157,33 @@ static void do_query_dimension (SPDocument *doc, bool extent, NR::Dim2 const axi static gchar *sp_global_printer = NULL; -static bool sp_global_slideshow = FALSE; +static gboolean sp_global_slideshow = FALSE; static gchar *sp_export_png = NULL; static gchar *sp_export_dpi = NULL; static gchar *sp_export_area = NULL; -static bool sp_export_area_drawing = FALSE; -static bool sp_export_area_canvas = FALSE; +static gboolean sp_export_area_drawing = FALSE; +static gboolean sp_export_area_canvas = FALSE; static gchar *sp_export_width = NULL; static gchar *sp_export_height = NULL; static gchar *sp_export_id = NULL; static gchar *sp_export_background = NULL; static gchar *sp_export_background_opacity = NULL; -static bool sp_export_area_snap = FALSE; -static bool sp_export_use_hints = FALSE; -static bool sp_export_id_only = FALSE; +static gboolean sp_export_area_snap = FALSE; +static gboolean sp_export_use_hints = FALSE; +static gboolean sp_export_id_only = FALSE; static gchar *sp_export_svg = NULL; static gchar *sp_export_ps = NULL; static gchar *sp_export_eps = NULL; static gchar *sp_export_pdf = NULL; -static bool sp_export_text_to_path = FALSE; -static bool sp_export_bbox_page = FALSE; -static bool sp_query_x = FALSE; -static bool sp_query_y = FALSE; -static bool sp_query_width = FALSE; -static bool sp_query_height = FALSE; +static gboolean sp_export_text_to_path = FALSE; +static gboolean sp_export_bbox_page = FALSE; +static gboolean sp_query_x = FALSE; +static gboolean sp_query_y = FALSE; +static gboolean sp_query_width = FALSE; +static gboolean sp_query_height = FALSE; static gchar *sp_query_id = NULL; static int sp_new_gui = FALSE; -static bool sp_vacuum_defs = FALSE; +static gboolean sp_vacuum_defs = FALSE; static gchar *sp_export_png_utf8 = NULL; static gchar *sp_export_svg_utf8 = NULL; @@ -410,7 +410,7 @@ main(int argc, char **argv) Inkscape::Debug::Logger::init(); - bool use_gui; + gboolean use_gui; #ifndef WIN32 use_gui = (getenv("DISPLAY") != NULL); #else @@ -624,7 +624,7 @@ sp_main_gui(int argc, char const **argv) filename = 0; if (!sp_global_slideshow) { - bool create_new = TRUE; + gboolean create_new = TRUE; /// \todo FIXME BROKEN - non-UTF-8 sneaks in here. inkscape_application_init(argv[0], true); |
