--- gtkmm-2.24.3.orig/gtk/src/widget.hg	2013-04-12 17:14:35.386398216 +0100
+++ gtkmm-2.24.3/gtk/src/widget.hg	2013-04-12 19:11:33.396556295 +0100
@@ -986,11 +986,13 @@ dnl
    */
   _WRAP_SIGNAL(void drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, const SelectionData& selection_data, guint info, guint time), "drag_data_received")
 
+#ifndef GTKMM_DISABLE_DEPRECATED
   //Note that the deprecated keyword has no effect on _WRAP_SIGNAL() yet.
   //It doesn't seem like a good idea to put virtual functions in #ifdefs, because that would change the size of the class instances.
   /** @deprecated This should never have been in the API. It was never meaningful.
    */
-  _WRAP_SIGNAL(Glib::RefPtr<Atk::Object> get_accessible(), "get_accessible", ifdef GTKMM_ATKMM_ENABLED, refreturn, deprecated)
+  _WRAP_SIGNAL(Glib::RefPtr<Atk::Object> get_accessible(), "get_accessible", ifdef GTKMM_ATKMM_ENABLED, refreturn)
+#endif // GTKMM_DISABLE_DEPRECATED
 
   _WRAP_SIGNAL(void screen_changed(const Glib::RefPtr<Gdk::Screen>& previous_screen), "screen_changed")
 
