[gtkmm] Gtk::Entry: Handlers of signal_populate_popup() take a Widget*



commit 0c7ecf97bba2ac7aa2fda719abd85f580d0b8b26
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Sun Nov 13 15:45:32 2016 +0100

    Gtk::Entry: Handlers of signal_populate_popup() take a Widget*

 gtk/src/entry.hg |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/gtk/src/entry.hg b/gtk/src/entry.hg
index 3068a41..ae00c9b 100644
--- a/gtk/src/entry.hg
+++ b/gtk/src/entry.hg
@@ -200,11 +200,7 @@ public:
 
   _WRAP_METHOD(void grab_focus_without_selecting(), gtk_entry_grab_focus_without_selecting)
 
-  //TODO: This signal now takes a GtkWidget* instead of just a GtkMenu*,
-  //so change that when we can break ABI.
-  //See https://git.gnome.org/browse/gtk+/commit/?id=88623b98a7ca0afca08ac21bc3aa662c6ed3ab7f
-#m4 _CONVERSION(`Menu*',`GtkWidget*',`GTK_WIDGET(($3)->gobj())')
-  _WRAP_SIGNAL(void populate_popup(Menu* menu), "populate_popup")
+  _WRAP_SIGNAL(void populate_popup(Widget* widget), "populate_popup")
 
 #m4 _CONVERSION(`const char*',`const Glib::ustring&',__GCHARP_TO_USTRING)
   _WRAP_SIGNAL(void insert_at_cursor(const Glib::ustring& str), "insert_at_cursor")


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