From a5b841a39131fdf6cb1d79ff16705e2e8f906f45 Mon Sep 17 00:00:00 2001 From: fejj Date: Mon, 1 Jun 2009 18:03:52 +0000 Subject: [PATCH] 2009-06-01 Jeffrey Stedfast * dependencyobject.cpp (WildcardListener): Uh, this needs to subclass Listener or we can't go around casting it to a Listener. (CallbackListener): Same. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/moon@135130 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- src/ChangeLog | 6 ++++++ src/dependencyobject.cpp | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 589ab2a1d..517938873 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2009-06-01 Jeffrey Stedfast + + * dependencyobject.cpp (WildcardListener): Uh, this needs to + subclass Listener or we can't go around casting it to a Listener. + (CallbackListener): Same. + 2009-06-01 Chris Toshok * runtime.cpp (Surface::EmitEventOnList): if the list is empty (or diff --git a/src/dependencyobject.cpp b/src/dependencyobject.cpp index 7f731d226..cc41fbfcf 100644 --- a/src/dependencyobject.cpp +++ b/src/dependencyobject.cpp @@ -8,7 +8,9 @@ * */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include @@ -890,7 +892,7 @@ public: virtual gpointer GetProperty () = 0; }; -class WildcardListener { +class WildcardListener : public Listener { public: WildcardListener (DependencyObject *obj, DependencyProperty *prop) { @@ -921,7 +923,7 @@ private: DependencyProperty *prop; }; -class CallbackListener { +class CallbackListener : public Listener { public: CallbackListener (DependencyProperty *prop, PropertyChangeHandler cb, gpointer closure) { -- 2.11.4.GIT