File 01-gigedit-redeclare.patch of Package gigedit

diff -up gigedit-1.2.1/src/gigedit/compat.h.orig gigedit-1.2.1/src/gigedit/compat.h
--- gigedit-1.2.1/src/gigedit/compat.h.orig	2021-11-14 20:26:54.000000000 +0100
+++ gigedit-1.2.1/src/gigedit/compat.h	2024-01-27 11:50:59.806730396 +0100
@@ -190,15 +190,6 @@ typedef Gtk::Action Action;
 
 #if HAS_PANGOMM_CPP11_ENUMS
 # include <pangomm/layout.h>
-// the following backward compatibility workaround seems to be obsolete since
-// pangomm 2.42 (and could then cause compilation errors due to redecleration)
-# if PANGOMM_MAJOR_VERSION == 2 && PANGOMM_MINOR_VERSION < 42
-namespace Pango {
-    const Alignment ALIGN_LEFT = Alignment::LEFT;
-    const Alignment ALIGN_CENTER = Alignment::CENTER;
-    const Alignment ALIGN_RIGHT = Alignment::RIGHT;
-}
-# endif
 #endif // HAS_PANGOMM_CPP11_ENUMS
 
 #if HAS_GTKMM_CPP11_ENUMS
openSUSE Build Service is sponsored by