diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2006-10-24 01:51:47 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2006-10-24 01:51:47 +0000 |
| commit | 5d4159df7d751d6684ac7a8d28a7a14fed2773a6 (patch) | |
| tree | b2100f04ff689f2f759aff341e0f6ba1470184e6 /src/widgets/toolbox.cpp | |
| parent | Added fix from Andre Twupack for prefdialog.cpp's needed gettext support for ... (diff) | |
| download | inkscape-5d4159df7d751d6684ac7a8d28a7a14fed2773a6.tar.gz inkscape-5d4159df7d751d6684ac7a8d28a7a14fed2773a6.zip | |
Added callback function to allow shrinking of widgets
(bzr r1850)
Diffstat (limited to 'src/widgets/toolbox.cpp')
| -rw-r--r-- | src/widgets/toolbox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 68e9a0653..def088563 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -848,6 +848,9 @@ static EgeAdjustmentAction * create_adjustment_action( gchar const *name, gtk_object_set_data( GTK_OBJECT(dataKludge), data, adj ); } + // Using a cast just to make sure we pass in the right kind of function pointer + g_object_set( G_OBJECT(act), "tool-post", static_cast<EgeWidgetFixup>(sp_set_font_size_smaller), NULL ); + return act; } |
