diff options
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; } |
