diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2006-04-06 09:10:47 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2006-04-06 09:10:47 +0000 |
| commit | 11e258d47c7ab070228d93b203ec467b5e53de5a (patch) | |
| tree | 58f02569addc5f1a75eadcbcedf3ab0b8aae7bc2 /src/widgets/button.cpp | |
| parent | Adding rendering-intent to <color-profile> (diff) | |
| download | inkscape-11e258d47c7ab070228d93b203ec467b5e53de5a.tar.gz inkscape-11e258d47c7ab070228d93b203ec467b5e53de5a.zip | |
Decoupling from direct use of GtkIconSize to allow for smaller custom ones.
(bzr r439)
Diffstat (limited to 'src/widgets/button.cpp')
| -rw-r--r-- | src/widgets/button.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/button.cpp b/src/widgets/button.cpp index 4860c9667..42775213a 100644 --- a/src/widgets/button.cpp +++ b/src/widgets/button.cpp @@ -180,14 +180,14 @@ sp_button_perform_action (SPButton *button, gpointer data) GtkWidget * -sp_button_new( GtkIconSize size, SPButtonType type, SPAction *action, SPAction *doubleclick_action, GtkTooltips *tooltips ) +sp_button_new( Inkscape::IconSize size, SPButtonType type, SPAction *action, SPAction *doubleclick_action, GtkTooltips *tooltips ) { SPButton *button; button = (SPButton *)g_object_new (SP_TYPE_BUTTON, NULL); button->type = type; - button->lsize = CLAMP( size, GTK_ICON_SIZE_MENU, GTK_ICON_SIZE_DIALOG ); + button->lsize = CLAMP( size, Inkscape::ICON_SIZE_MENU, Inkscape::ICON_SIZE_DECORATION ); button->tooltips = tooltips; if (tooltips) g_object_ref ((GObject *) tooltips); @@ -308,7 +308,7 @@ sp_button_set_composed_tooltip (GtkTooltips *tooltips, GtkWidget *widget, SPActi } GtkWidget * -sp_button_new_from_data( GtkIconSize size, +sp_button_new_from_data( Inkscape::IconSize size, SPButtonType type, Inkscape::UI::View::View *view, const gchar *name, |
