[gtkmm] docs: Don't translate GDK_MODIFIER_MASK to C++



commit cf4640dae9adbe62a77bdac1df06d866be233824
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Mon Aug 15 21:07:13 2022 +0200

    docs: Don't translate GDK_MODIFIER_MASK to C++
    
    It's a preprocessor macro. It does not have a C++ name.
    Fixes #124

 gdk/src/gdk_docs_override.xml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gdk/src/gdk_docs_override.xml b/gdk/src/gdk_docs_override.xml
index 7fc608cd..72046cbf 100644
--- a/gdk/src/gdk_docs_override.xml
+++ b/gdk/src/gdk_docs_override.xml
@@ -40,7 +40,6 @@
 <substitute_enumerator_name from_prefix="GDK_INTERP_" to_prefix="Gdk::InterpType::" />
 <substitute_enumerator_name from_prefix="GDK_SEAT_CAPABILITY_" to_prefix="Gdk::Seat::Capabilities::" />
 <substitute_enumerator_name from_prefix="GDK_GRAB_" to_prefix="Gdk::GrabStatus::" />
-<substitute_enumerator_name from_prefix="GDK_MODIFIER_RESERVED_" 
to_prefix="Gdk::ModifierType::MODIFIER_RESERVED_" />
 <substitute_enumerator_name from_prefix="GDK_ANCHOR_" to_prefix="Gdk::AnchorHints::" />
 <substitute_enumerator_name from_prefix="GDK_GRAVITY_" to_prefix="Gdk::Gravity::" />
 <substitute_enumerator_name from_prefix="GDK_DECOR_" to_prefix="Gdk::WMDecoration::" />
@@ -72,11 +71,9 @@
 <substitute_enumerator_name from="GDK_SUPER_MASK" to="Gdk::ModifierType::SUPER_MASK" />
 <substitute_enumerator_name from="GDK_HYPER_MASK" to="Gdk::ModifierType::HYPER_MASK" />
 <substitute_enumerator_name from="GDK_META_MASK" to="Gdk::ModifierType::META_MASK" />
-<substitute_enumerator_name from="GDK_MODIFIER_MASK" to="Gdk::ModifierType::MODIFIER_MASK" />
 <substitute_enumerator_name from="GDK_BUTTON4_MASK" to="Gdk::ModifierType::BUTTON4_MASK" />
 <substitute_enumerator_name from="GDK_BUTTON5_MASK" to="Gdk::ModifierType::BUTTON5_MASK" />
 <substitute_enumerator_name from="GDK_CONTROL_MASK" to="Gdk::ModifierType::CONTROL_MASK" />
-<substitute_enumerator_name from="GDK_MOD2_MASK" to="Gdk::ModifierType::MOD2_MASK" />
 <substitute_enumerator_name from="GDK_BLANK_CURSOR" to="Gdk::Cursor::Type::BLANK_CURSOR" />
 <!-- These are not enumerator names. Don't substitute. -->
 <substitute_enumerator_name from="GDK_CURRENT_TIME" to="GDK_CURRENT_TIME" />
@@ -86,6 +83,7 @@
 <substitute_enumerator_name from="G_IO_ERROR" to="G_IO_ERROR" />
 <substitute_enumerator_name from="GDK_BUTTON_SECONDARY" to="GDK_BUTTON_SECONDARY" />
 <substitute_enumerator_name from="GDK_BACKEND" to="GDK_BACKEND" />
+<substitute_enumerator_name from="GDK_MODIFIER_MASK" to="GDK_MODIFIER_MASK" />
 
 <function name="gdk_display_manager_list_displays">
 <return> a vector of #GdkDisplay objects.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]