~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/widgets/sp-color-notebook.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:
34
34
        const gchar* className;
35
35
        GType type;
36
36
        guint submode;
37
 
        bool enabledFull;
38
 
        bool enabledBrief;
 
37
        gboolean enabledFull;
 
38
        gboolean enabledBrief;
39
39
        SPColorNotebook *backPointer;
40
40
};
41
41
 
154
154
 
155
155
static void sp_color_notebook_menuitem_response (GtkMenuItem *menuitem, gpointer user_data)
156
156
{
157
 
        bool active = FALSE;
 
157
        gboolean active = FALSE;
158
158
 
159
159
        active = gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (menuitem));
160
160
        SPColorNotebookTracker *entry = reinterpret_cast< SPColorNotebookTracker* > (user_data);
267
267
        gtk_notebook_set_current_page (GTK_NOTEBOOK (_book), prefs_get_int_attribute ("colorselector", "page", 0));
268
268
 
269
269
        {
270
 
                bool found = FALSE;
 
270
                gboolean found = FALSE;
271
271
 
272
272
                _popup = gtk_menu_new();
273
273
                GtkMenu *menu = GTK_MENU (_popup);
493
493
 
494
494
void ColorNotebook::_entryDragged (SPColorSelector *csel, SPColorNotebook *colorbook)
495
495
{
496
 
        bool oldState;
 
496
        gboolean oldState;
497
497
    ColorNotebook* nb = (ColorNotebook*)(SP_COLOR_SELECTOR(colorbook)->base);
498
498
 
499
499
        oldState = nb->_dragging;
512
512
 
513
513
void ColorNotebook::_entryChanged (SPColorSelector *csel, SPColorNotebook *colorbook)
514
514
{
515
 
        bool oldState;
 
515
        gboolean oldState;
516
516
    ColorNotebook* nb = (ColorNotebook*)(SP_COLOR_SELECTOR(colorbook)->base);
517
517
 
518
518
        oldState = nb->_dragging;