From ea819ea3032216925c757d15d1c63b7f6f764e0d Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 3 May 2022 22:03:05 +0200 Subject: [PATCH] app: missing generated config-enums.c. This was missing ever since commit 505a78e715 but we weren't seeing this by using meson. I opened the report #8145 for us to handle this regression of the build system. --- app/config/config-enums.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/app/config/config-enums.c b/app/config/config-enums.c index 4c414b9b01..c774a94529 100644 --- a/app/config/config-enums.c +++ b/app/config/config-enums.c @@ -233,6 +233,35 @@ gimp_position_get_type (void) return type; } +GType +gimp_drag_zoom_mode_get_type (void) +{ + static const GEnumValue values[] = + { + { PROP_DRAG_ZOOM_MODE_DISTANCE, "PROP_DRAG_ZOOM_MODE_DISTANCE", "distance" }, + { PROP_DRAG_ZOOM_MODE_DURATION, "PROP_DRAG_ZOOM_MODE_DURATION", "duration" }, + { 0, NULL, NULL } + }; + + static const GimpEnumDesc descs[] = + { + { PROP_DRAG_ZOOM_MODE_DISTANCE, NC_("drag-zoom-mode", "By distance"), NULL }, + { PROP_DRAG_ZOOM_MODE_DURATION, NC_("drag-zoom-mode", "By duration"), NULL }, + { 0, NULL, NULL } + }; + + static GType type = 0; + + if (G_UNLIKELY (! type)) + { + type = g_enum_register_static ("GimpDragZoomMode", values); + gimp_type_set_translation_context (type, "drag-zoom-mode"); + gimp_enum_set_value_descriptions (type, descs); + } + + return type; +} + GType gimp_space_bar_action_get_type (void) {