[cluttermm/cluttermm-1-18] Remove the deprecated signal to avoid clashing with the paint vfunc.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm/cluttermm-1-18] Remove the deprecated signal to avoid clashing with the paint vfunc.
- Date: Tue, 22 Apr 2014 10:00:25 +0000 (UTC)
commit 0fef1825da8113b01acecc3b9185c1bf7544d2c3
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Apr 17 21:35:58 2014 +0200
Remove the deprecated signal to avoid clashing with the paint vfunc.
clutter/src/actor.hg | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/clutter/src/actor.hg b/clutter/src/actor.hg
index 0774705..81b46cb 100644
--- a/clutter/src/actor.hg
+++ b/clutter/src/actor.hg
@@ -541,7 +541,11 @@ _DEPRECATE_IFDEF_END
_WRAP_SIGNAL(bool scroll_event(ScrollEvent* event), "scroll_event")
_WRAP_SIGNAL(bool key_press_event(KeyEvent* event), "key_press_event")
_WRAP_SIGNAL(bool captured_event(Event* event), "captured_event")
- _WRAP_SIGNAL(void paint(), "paint")
+
+ //We have to actually ignore this signal so we can replace its default signal handler with the vfunc.
+ _IGNORE_SIGNAL("paint")
+ //_WRAP_SIGNAL(void paint(), "paint", deprecated "Override the paint_func(), use a Clutter::Content
implementation, or a Clutter::Effect instead of connecting to this signal.")
+
_WRAP_SIGNAL(void queue_redaw(const Glib::RefPtr<Actor>& origin), "queue_redraw")
_WRAP_SIGNAL(void queue_relayout(), "queue_relayout")
_WRAP_SIGNAL(void realize(), "realize")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]