summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/selected-style.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-10-20 22:21:45 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-10-20 22:21:45 +0000
commitf1e0309a7ffe42441f86def97f54aa57d86f1624 (patch)
tree7226490a904223b0fd208c488ae157d9a92bc819 /src/ui/widget/selected-style.cpp
parentProgress Bar workinggit add .git add . (diff)
parentMerge branch 'smartpointer_refactor' of gitlab.com:jali/inkscape (diff)
downloadinkscape-f1e0309a7ffe42441f86def97f54aa57d86f1624.tar.gz
inkscape-f1e0309a7ffe42441f86def97f54aa57d86f1624.zip
Merge branch 'master' into SymbolsSearch
Diffstat (limited to 'src/ui/widget/selected-style.cpp')
-rw-r--r--src/ui/widget/selected-style.cpp3
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);