[gtkmm/gtkmm-3-24] Gtk::Menu: Fix build with -Dbuild-deprecated-api=false



commit 2738745ea7963fdda3f673c40dcbf961514f3260
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Tue Aug 16 08:50:46 2022 +0200

    Gtk::Menu: Fix build with -Dbuild-deprecated-api=false
    
    Fixes #126

 gtk/src/menu.ccg | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gtk/src/menu.ccg b/gtk/src/menu.ccg
index 00cda31a..4c6dbcf1 100644
--- a/gtk/src/menu.ccg
+++ b/gtk/src/menu.ccg
@@ -18,7 +18,7 @@
 #include <gtk/gtk.h>
 #include <gtkmm/accelgroup.h>
 
-
+_DEPRECATE_IFDEF_START
 static void SignalProxy_PopupPosition_gtk_callback(GtkMenu*, int* x, int* y, gboolean* push_in, void* data)
 {
   auto the_slot = static_cast<Gtk::Menu::SlotPositionCalc*>(data);
@@ -46,8 +46,7 @@ static void SignalProxy_PopupPosition_gtk_callback_destroy(void* data)
   auto the_slot = static_cast<Gtk::Menu::SlotPositionCalc*>(data);
   delete the_slot;
 }
-
-
+_DEPRECATE_IFDEF_END
 
 namespace Gtk
 {


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