[gtkmm] Gtk::TextTag: Remove event() and signal_event()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::TextTag: Remove event() and signal_event()
- Date: Mon, 13 Nov 2017 08:56:22 +0000 (UTC)
commit 10851522604505e445263741b80751972574a89b
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Mon Nov 13 09:54:16 2017 +0100
Gtk::TextTag: Remove event() and signal_event()
because they have been removed in gtk+4.
gtk/src/texttag.ccg | 2 --
gtk/src/texttag.hg | 10 ----------
2 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/gtk/src/texttag.ccg b/gtk/src/texttag.ccg
index b5db77d..e6c59e3 100644
--- a/gtk/src/texttag.ccg
+++ b/gtk/src/texttag.ccg
@@ -16,6 +16,4 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <gtkmm/textbuffer.h>
-#include <gtkmm/textiter.h>
#include <gtk/gtk.h>
diff --git a/gtk/src/texttag.hg b/gtk/src/texttag.hg
index c71c431..c27532a 100644
--- a/gtk/src/texttag.hg
+++ b/gtk/src/texttag.hg
@@ -20,7 +20,6 @@ _CONFIGINCLUDE(gtkmmconfig.h)
#include <glibmm/object.h>
#include <gtkmm/enums.h>
-#include <gdkmm/event.h>
#include <gdkmm/rgba.h>
#include <pangomm/fontdescription.h>
#include <pangomm/tabarray.h>
@@ -32,8 +31,6 @@ _PINCLUDE(gtk/gtk.h)
namespace Gtk
{
-class TextIter;
-
/** Typedefed as Gtk::TextBuffer::Tag.
*
* Text in a buffer can be marked with tags. A tag is an attribute that can be applied to some range of
text. For example, a tag
@@ -66,15 +63,8 @@ public:
_WRAP_METHOD(int get_priority() const, gtk_text_tag_get_priority)
_WRAP_METHOD(void set_priority(int priority), gtk_text_tag_set_priority)
-#m4 _CONVERSION(`const TextIter&',`const GtkTextIter*',__FR2P)
- _WRAP_METHOD(bool event(const Glib::RefPtr<Glib::Object>& event_object, Gdk::Event& gdk_event, const
TextIter& iter), gtk_text_tag_event)
_WRAP_METHOD(void tag_changed(bool size_changed), gtk_text_tag_changed)
-#m4 _CONVERSION(`GObject*',`const Glib::RefPtr<Glib::Object>&',`Glib::wrap($3, true)')
-#m4 _CONVERSION(`GdkEvent*',`Gdk::Event&',`Gdk::wrap_event($3)')
-#m4 _CONVERSION(`const GtkTextIter*',`const TextIter&',`Glib::wrap_iter($3)')
- _WRAP_SIGNAL(bool event(const Glib::RefPtr<Glib::Object>& event_object, Gdk::Event& gdk_event, const
TextIter& iter), "event")
-
_WRAP_PROPERTY("name", Glib::ustring) //construct-only.
_WRAP_PROPERTY("background", Glib::ustring)
_WRAP_PROPERTY("foreground", Glib::ustring)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]