[gtkmm] Gtk::Entry: Remove property_activate()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::Entry: Remove property_activate()
- Date: Sun, 24 Feb 2019 14:14:17 +0000 (UTC)
commit 784af00133dcda7a810204f5218404e792d131bf
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sun Feb 24 15:11:35 2019 +0100
Gtk::Entry: Remove property_activate()
and add property_enable_emoji_completion().
GtkEntry:activate shall not be used in application programs in gtk4.
See https://gitlab.gnome.org/GNOME/gtk/commit/78a9b5d1edfb6da871cb73cf493f871de3fb6769
gtk/src/entry.hg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/src/entry.hg b/gtk/src/entry.hg
index 526184dd..088d0c0d 100644
--- a/gtk/src/entry.hg
+++ b/gtk/src/entry.hg
@@ -184,8 +184,7 @@ public:
_WRAP_METHOD(void grab_focus_without_selecting(), gtk_entry_grab_focus_without_selecting)
- //Note that the GTK+ C documentation for the activate signal says (as of 2012-06) that it should be used
by applications even though it is a keybinding signal.
- _WRAP_SIGNAL(void activate(), "activate")
+ _IGNORE_SIGNAL(activate)dnl // action signal
#m4 _CONVERSION(`const GdkEventButton*',`const Glib::RefPtr<const
Gdk::EventButton>&',`Glib::wrap(const_cast<GdkEventButton*>($3), true)')
// no_default_handler because the wrapped C signals have no default handlers.
@@ -230,6 +229,7 @@ public:
_WRAP_PROPERTY("populate-all", bool)
_WRAP_PROPERTY("tabs", Pango::TabArray)
_WRAP_PROPERTY("show-emoji-icon", bool)
+ _WRAP_PROPERTY("enable-emoji-completion", bool)
};
} //namespace Gtk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]