index f474cd735ebd3524df2f8a020c4d3eb4b8e03deb..ed9259aef9b93d340e37f0124c0f5b859dbe2733 100644 (file)
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
gchar const *path, gchar const *data, gdouble def,
GtkWidget *us,
GtkWidget *tbl,
- bool altx, gchar const *altx_mark,
+ gboolean altx, gchar const *altx_mark,
gdouble lower, gdouble upper, gdouble step, gdouble page,
void (*callback)(GtkAdjustment *, GtkWidget *),
gdouble climb = 0.1, guint digits = 3, double factor = 1.0)
// fixme: make settable in prefs!
gint mag = 5;
gdouble prop = 0.5;
- bool flat = FALSE;
+ gboolean flat = FALSE;
gdouble randomized = 0;
gdouble rounded = 0;
@@ -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"));
- bool active = gtk_toggle_button_get_active (button);
- bool check = (query->font_weight.computed >= SP_CSS_FONT_WEIGHT_700);
+ gboolean active = gtk_toggle_button_get_active (button);
+ gboolean 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"));
- bool active = gtk_toggle_button_get_active (button);
- bool check = (query->font_style.computed != SP_CSS_FONT_STYLE_NORMAL);
+ gboolean active = gtk_toggle_button_get_active (button);
+ gboolean check = (query->font_style.computed != SP_CSS_FONT_STYLE_NORMAL);
if (active != check)
{
gtk_widget_grab_focus (GTK_WIDGET(desktop->canvas));
}
-bool
+gboolean
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;
}
-bool
+gboolean
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;
}
-bool
+gboolean
sp_text_toolbox_family_list_keypress (GtkWidget *w, GdkEventKey *event, GObject *tbl)
{
SPDesktop *desktop = SP_ACTIVE_DESKTOP;
}
}
-bool
+gboolean
sp_text_toolbox_entry_focus_in (GtkWidget *entry,
GdkEventFocus *event,
GObject *tbl)
return FALSE;
}
-bool
+gboolean
sp_text_toolbox_popdown_focus_out (GtkWidget *popdown,
GdkEventFocus *event,
GObject *tbl)