summaryrefslogtreecommitdiffstats
path: root/src/helper/unit-menu.cpp
diff options
context:
space:
mode:
authorJon Phillips <jon@fabricatorz.com>2006-08-23 07:08:06 +0000
committerkidproto <kidproto@users.sourceforge.net>2006-08-23 07:08:06 +0000
commit10880dbfba9afd5a963f5bb36fe9a3707c1c35a1 (patch)
tree7a73cfffbb81131a0dfb9c6d799325e363615e8a /src/helper/unit-menu.cpp
parentUpdated his name and copyright info... (diff)
downloadinkscape-10880dbfba9afd5a963f5bb36fe9a3707c1c35a1.tar.gz
inkscape-10880dbfba9afd5a963f5bb36fe9a3707c1c35a1.zip
Ok, committed msgloan's patch to convert gbooleans to bools thus completing
one major janitorial task we identified.... (bzr r1633)
Diffstat (limited to 'src/helper/unit-menu.cpp')
-rw-r--r--src/helper/unit-menu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/unit-menu.cpp b/src/helper/unit-menu.cpp
index 34a2b6344..bbda0a7c5 100644
--- a/src/helper/unit-menu.cpp
+++ b/src/helper/unit-menu.cpp
@@ -46,7 +46,7 @@ struct SPUnitSelector {
struct SPUnitSelectorClass {
GtkHBoxClass parent_class;
- gboolean (* set_unit)(SPUnitSelector *us, SPUnit const *old, SPUnit const *new_unit);
+ bool (* set_unit)(SPUnitSelector *us, SPUnit const *old, SPUnit const *new_unit);
};
enum {SET_UNIT, LAST_SIGNAL};
@@ -175,7 +175,7 @@ spus_unit_activate(GtkWidget *widget, SPUnitSelector *us)
us->update = TRUE;
- gboolean consumed = FALSE;
+ bool consumed = FALSE;
g_signal_emit(G_OBJECT(us), signals[SET_UNIT], 0, old, unit, &consumed);
if ( !consumed
@@ -333,7 +333,7 @@ sp_unit_selector_remove_adjustment(SPUnitSelector *us, GtkAdjustment *adj)
gtk_object_unref(GTK_OBJECT(adj));
}
-gboolean
+bool
sp_unit_selector_update_test(SPUnitSelector const *selector)
{
g_return_val_if_fail(selector != NULL, FALSE);