diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-10-20 18:45:52 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-10-20 18:45:52 +0000 |
| commit | 10af9131e03df0227458285b59ed1425d15b52b5 (patch) | |
| tree | 835b89f653c157ba1f176e7b02aabeb0498d49f2 /src/ui/widget/selected-style.cpp | |
| parent | Removed author on request (diff) | |
| parent | Drop obsolete wrapper around Glib::file_open_tmp (diff) | |
| download | inkscape-10af9131e03df0227458285b59ed1425d15b52b5.tar.gz inkscape-10af9131e03df0227458285b59ed1425d15b52b5.zip | |
Merge branch 'cleanups' of gitlab.com:stfacc/inkscape
Diffstat (limited to 'src/ui/widget/selected-style.cpp')
| -rw-r--r-- | src/ui/widget/selected-style.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp index 5d911e9d2..d9b93f6db 100644 --- a/src/ui/widget/selected-style.cpp +++ b/src/ui/widget/selected-style.cpp @@ -107,8 +107,7 @@ static const GtkTargetEntry ui_drop_target_entries [] = { {"application/x-color", 0, APP_X_COLOR} }; -#define ENTRIES_SIZE(n) sizeof(n)/sizeof(n[0]) -static guint nui_drop_target_entries = ENTRIES_SIZE(ui_drop_target_entries); +static guint nui_drop_target_entries = G_N_ELEMENTS(ui_drop_target_entries); /* convenience function */ static Dialog::FillAndStroke *get_fill_and_stroke_panel(SPDesktop *desktop); |
