~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/pen-context.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:
55
55
static void spdc_pen_set_ctrl(SPPenContext *pc, NR::Point const p, guint state);
56
56
static void spdc_pen_finish_segment(SPPenContext *pc, NR::Point p, guint state);
57
57
 
58
 
static void spdc_pen_finish(SPPenContext *pc, bool closed);
 
58
static void spdc_pen_finish(SPPenContext *pc, gboolean closed);
59
59
 
60
60
static gint pen_handle_button_press(SPPenContext *const pc, GdkEventButton const &bevent);
61
61
static gint pen_handle_motion_notify(SPPenContext *const pc, GdkEventMotion const &mevent);
1126
1126
}
1127
1127
 
1128
1128
static void
1129
 
spdc_pen_finish(SPPenContext *const pc, bool const closed)
 
1129
spdc_pen_finish(SPPenContext *const pc, gboolean const closed)
1130
1130
{
1131
1131
    SPDesktop *const desktop = pc->desktop;
1132
1132
    pc->_message_context->clear();