summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
authorJon Phillips <jon@fabricatorz.com>2006-08-24 23:19:11 +0000
committerkidproto <kidproto@users.sourceforge.net>2006-08-24 23:19:11 +0000
commit1cab31d2570e92b86ccf48c143290ef5b6f4db10 (patch)
treedf995977df306ec09174f1d714014359f8594409 /src/widgets/toolbox.cpp
parentOk, committed msgloan's patch to convert gbooleans to bools thus completing (diff)
downloadinkscape-1cab31d2570e92b86ccf48c143290ef5b6f4db10.tar.gz
inkscape-1cab31d2570e92b86ccf48c143290ef5b6f4db10.zip
Cleaned up more of the gboolean to bool janitorial task...great!
(bzr r1634)
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index e42f58954..f474cd735 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -2941,8 +2941,8 @@ sp_text_toolbox_selection_changed (Inkscape::Selection *selection, GObject *tbl)
{
GtkToggleButton *button = GTK_TOGGLE_BUTTON (g_object_get_data (G_OBJECT (tbl), "style-bold"));
- gboolean active = gtk_toggle_button_get_active (button);
- gboolean check = (query->font_weight.computed >= SP_CSS_FONT_WEIGHT_700);
+ bool active = gtk_toggle_button_get_active (button);
+ bool check = (query->font_weight.computed >= SP_CSS_FONT_WEIGHT_700);
if (active != check)
{
@@ -2955,8 +2955,8 @@ sp_text_toolbox_selection_changed (Inkscape::Selection *selection, GObject *tbl)
{
GtkToggleButton *button = GTK_TOGGLE_BUTTON (g_object_get_data (G_OBJECT (tbl), "style-italic"));
- gboolean active = gtk_toggle_button_get_active (button);
- gboolean check = (query->font_style.computed != SP_CSS_FONT_STYLE_NORMAL);
+ bool active = gtk_toggle_button_get_active (button);
+ bool check = (query->font_style.computed != SP_CSS_FONT_STYLE_NORMAL);
if (active != check)
{
@@ -3233,7 +3233,7 @@ sp_text_toolbox_orientation_toggled (GtkRadioButton *button,
gtk_widget_grab_focus (GTK_WIDGET(desktop->canvas));
}
-gboolean
+bool
sp_text_toolbox_size_keypress (GtkWidget *w, GdkEventKey *event, gpointer data)
{
SPDesktop *desktop = SP_ACTIVE_DESKTOP;
@@ -3253,7 +3253,7 @@ sp_text_toolbox_size_keypress (GtkWidget *w, GdkEventKey *event, gpointer data)
return FALSE;
}
-gboolean
+bool
sp_text_toolbox_family_keypress (GtkWidget *w, GdkEventKey *event, GObject *tbl)
{
SPDesktop *desktop = SP_ACTIVE_DESKTOP;
@@ -3269,7 +3269,7 @@ sp_text_toolbox_family_keypress (GtkWidget *w, GdkEventKey *event, GObject *tbl)
return FALSE;
}
-gboolean
+bool
sp_text_toolbox_family_list_keypress (GtkWidget *w, GdkEventKey *event, GObject *tbl)
{
SPDesktop *desktop = SP_ACTIVE_DESKTOP;
@@ -3364,7 +3364,7 @@ sp_text_toolbox_text_popdown_clicked (GtkButton *button,
}
}
-gboolean
+bool
sp_text_toolbox_entry_focus_in (GtkWidget *entry,
GdkEventFocus *event,
GObject *tbl)
@@ -3373,7 +3373,7 @@ sp_text_toolbox_entry_focus_in (GtkWidget *entry,
return FALSE;
}
-gboolean
+bool
sp_text_toolbox_popdown_focus_out (GtkWidget *popdown,
GdkEventFocus *event,
GObject *tbl)