[gtkmm/gtkmm-3maybe] Remove uses of no_default_handler.



commit a8c25825ea8f8b6b74999e42ca78672d6f5bee71
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Apr 24 17:46:01 2009 +0200

    Remove uses of no_default_handler.
    
    * gdk/src/pixbufloader.hg:
    * gtk/src/accelgroup.hg:
    * gtk/src/actiongroup.hg:
    * gtk/src/cellrenderer.hg:
    * gtk/src/cellrenderercombo.hg:
    * gtk/src/clipboard.hg:
    * gtk/src/entry.hg:
    * gtk/src/entrycompletion.hg:
    * gtk/src/filechooser.hg:
    * gtk/src/filechooserbutton.hg:
    * gtk/src/menushell.hg:
    * gtk/src/notebook.hg:
    * gtk/src/range.hg:
    * gtk/src/recentchooser.hg:
    * gtk/src/spinbutton.hg:
    * gtk/src/statusicon.hg:
    * gtk/src/textbuffer.hg:
    * gtk/src/toolitem.hg:
    * gtk/src/uimanager.hg:
    * gtk/src/widget.hg: Remove use of the no_default_handler option with
    _WRAP_SIGNAL(), breaking ABI by adding virtual methods.
    
    This is the gtkmm-3maybe branch, for API/ABI breaking changes, for a possible
    future gtkmm-3.0.
---
 ChangeLog                    |   29 +++++++++++++++++++++++++++++
 gdk/src/pixbufloader.hg      |    4 +---
 gtk/src/accelgroup.hg        |    2 +-
 gtk/src/actiongroup.hg       |    8 ++++----
 gtk/src/cellrenderer.hg      |    4 +---
 gtk/src/cellrenderercombo.hg |    2 +-
 gtk/src/clipboard.hg         |    3 +--
 gtk/src/entry.hg             |    4 ++--
 gtk/src/entrycompletion.hg   |    4 +---
 gtk/src/filechooser.hg       |   10 +++++-----
 gtk/src/filechooserbutton.hg |    3 +--
 gtk/src/menushell.hg         |    2 +-
 gtk/src/notebook.hg          |    6 +++---
 gtk/src/range.hg             |    4 +---
 gtk/src/recentchooser.hg     |    4 ++--
 gtk/src/spinbutton.hg        |    2 +-
 gtk/src/statusicon.hg        |   11 +++++------
 gtk/src/textbuffer.hg        |    3 +--
 gtk/src/toolitem.hg          |    3 +--
 gtk/src/uimanager.hg         |    8 ++++----
 gtk/src/widget.hg            |   14 +++++++-------
 21 files changed, 73 insertions(+), 57 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 876168b..c108a0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,32 @@
+2009-04-24  Murray Cumming  <murrayc murrayc com>
+
+	Remove uses of no_default_handler.	
+	
+	* gdk/src/pixbufloader.hg:
+	* gtk/src/accelgroup.hg:
+	* gtk/src/actiongroup.hg:
+	* gtk/src/cellrenderer.hg:
+	* gtk/src/cellrenderercombo.hg:
+	* gtk/src/clipboard.hg:
+	* gtk/src/entry.hg:
+	* gtk/src/entrycompletion.hg:
+	* gtk/src/filechooser.hg:
+	* gtk/src/filechooserbutton.hg:
+	* gtk/src/menushell.hg:
+	* gtk/src/notebook.hg:
+	* gtk/src/range.hg:
+	* gtk/src/recentchooser.hg:
+	* gtk/src/spinbutton.hg:
+	* gtk/src/statusicon.hg:
+	* gtk/src/textbuffer.hg:
+	* gtk/src/toolitem.hg:
+	* gtk/src/uimanager.hg:
+	* gtk/src/widget.hg: Remove use of the no_default_handler option with 
+	_WRAP_SIGNAL(), breaking ABI by adding virtual methods.
+
+This is the gtkmm-3maybe branch, for API/ABI breaking changes, for a possible 
+future gtkmm-3.0.
+
 2009-04-18  Daniel Elstner  <danielk openismus com>
 
 	* docs/reference/images/stock: Add these stock images to the repository for
diff --git a/gdk/src/pixbufloader.hg b/gdk/src/pixbufloader.hg
index 2c680c3..4c32afc 100644
--- a/gdk/src/pixbufloader.hg
+++ b/gdk/src/pixbufloader.hg
@@ -155,8 +155,6 @@ public:
    */
   _WRAP_SIGNAL(void closed(), "closed")
 
-  //We use no_default_handler for this, because we can not add a new vfunc to 2.5 without breaking ABI.
-  //TODO: Remove no_default_handler when we do an ABI-break-with-parallel-install.
   /** This signal is emitted when the pixbuf loader has been fed the
    * initial amount of data that is required to figure out the size
    * of the image that it will create.  Applications can call  
@@ -166,7 +164,7 @@ public:
    * @param width The original width of the image.
    * @param height The original height of the image
    */
-  _WRAP_SIGNAL(void size_prepared(int width, int height), "size_prepared", no_default_handler)
+  _WRAP_SIGNAL(void size_prepared(int width, int height), "size_prepared")
 };
 
 } // namespace Gdk
diff --git a/gtk/src/accelgroup.hg b/gtk/src/accelgroup.hg
index 466b44f..9ca0c4a 100644
--- a/gtk/src/accelgroup.hg
+++ b/gtk/src/accelgroup.hg
@@ -113,7 +113,7 @@ public:
   _WRAP_METHOD(static bool activate(Gtk::Object& object, guint accel_key, Gdk::ModifierType accel_mods), gtk_accel_groups_activate)
 
 
-  _WRAP_SIGNAL(bool accel_activate(const Glib::RefPtr<Glib::Object>& acceleratable, guint keyval, Gdk::ModifierType modifier), "accel_activate", no_default_handler)   
+  _WRAP_SIGNAL(bool accel_activate(const Glib::RefPtr<Glib::Object>& acceleratable, guint keyval, Gdk::ModifierType modifier), "accel_activate")   
 
   //TODO: The C type is unpleasant:
   //This has C docs, but it isn't worth mentioning them for such a useless signal. murrayc.
diff --git a/gtk/src/actiongroup.hg b/gtk/src/actiongroup.hg
index 76ec50c..2e3164b 100644
--- a/gtk/src/actiongroup.hg
+++ b/gtk/src/actiongroup.hg
@@ -93,7 +93,7 @@ public:
    * @param action the action
    * @param proxy the proxy
    */
-  _WRAP_SIGNAL(void connect_proxy(const Glib::RefPtr<Action>& action, Widget* proxy), "connect_proxy", no_default_handler)
+  _WRAP_SIGNAL(void connect_proxy(const Glib::RefPtr<Action>& action, Widget* proxy), "connect_proxy")
   
   /** The disconnect_proxy signal is emitted after disconnecting a proxy 
    * from an action in the group. 
@@ -105,7 +105,7 @@ public:
    * @param action the action
    * @param proxy the proxy
    */
-  _WRAP_SIGNAL(void disconnect_proxy(const Glib::RefPtr<Action>& action, Widget* proxy), "disconnect_proxy", no_default_handler)
+  _WRAP_SIGNAL(void disconnect_proxy(const Glib::RefPtr<Action>& action, Widget* proxy), "disconnect_proxy")
   
   /** The pre_activate signal is emitted just before the @action in the
    * action_group is activated
@@ -115,7 +115,7 @@ public:
    *
    * @action the action
    */          
-  _WRAP_SIGNAL(void pre_activate(const Glib::RefPtr<Action>& action), "pre_activate", no_default_handler)
+  _WRAP_SIGNAL(void pre_activate(const Glib::RefPtr<Action>& action), "pre_activate")
   
   /** The post_activate signal is emitted just after the @action in the
    * @action_group is activated
@@ -125,7 +125,7 @@ public:
    *
    * @param action the action
    */ 
-  _WRAP_SIGNAL(void post_activate(const Glib::RefPtr<Action>& action), "post_activate", no_default_handler) 
+  _WRAP_SIGNAL(void post_activate(const Glib::RefPtr<Action>& action), "post_activate") 
 };
 
 } // namespace Gtk
diff --git a/gtk/src/cellrenderer.hg b/gtk/src/cellrenderer.hg
index b0d4efc..9162888 100644
--- a/gtk/src/cellrenderer.hg
+++ b/gtk/src/cellrenderer.hg
@@ -114,8 +114,6 @@ public:
   
 #m4 _CONVERSION(`const char*',`const Glib::ustring&',__GCHARP_TO_USTRING)
 
-  //We use no_default_handler for this, because we can not add a new vfunc to 2.5 without breaking ABI.
-  //TODO: Remove no_default_handler when we do an ABI-break-with-parallel-install.
   //TODO: Remove the warning in the documentation when we have fixed the inheritance of CellRendererCombo.
   /** This signal gets emitted when a cell starts to be edited.
    * The indended use of this signal is to do special setup
@@ -135,7 +133,7 @@ public:
    * @param editable the CellEditable.
    * @param path the path identifying the edited cell.
    */
-  _WRAP_SIGNAL(void editing_started(CellEditable* editable, const Glib::ustring& path), editing_started, no_default_handler)
+  _WRAP_SIGNAL(void editing_started(CellEditable* editable, const Glib::ustring& path), editing_started)
 
   _WRAP_PROPERTY("mode", CellRendererMode)
   _WRAP_PROPERTY("visible", bool)
diff --git a/gtk/src/cellrenderercombo.hg b/gtk/src/cellrenderercombo.hg
index 9590de9..ca1d454 100644
--- a/gtk/src/cellrenderercombo.hg
+++ b/gtk/src/cellrenderercombo.hg
@@ -55,7 +55,7 @@ dnl // not.
 #m4end
 
 #m4 _CONVERSION(`const gchar*',`const Glib::ustring&',__GCHARP_TO_USTRING)
-  _WRAP_SIGNAL(void changed(const Glib::ustring& path, const TreeModel::iterator& iter), "changed", no_default_handler)
+  _WRAP_SIGNAL(void changed(const Glib::ustring& path, const TreeModel::iterator& iter), "changed")
  
   _WRAP_PROPERTY("model", Glib::RefPtr<Gtk::TreeModel>)
   _WRAP_PROPERTY("text_column", int)
diff --git a/gtk/src/clipboard.hg b/gtk/src/clipboard.hg
index 7a26b90..4c9955a 100644
--- a/gtk/src/clipboard.hg
+++ b/gtk/src/clipboard.hg
@@ -296,8 +296,7 @@ public:
 
   _WRAP_METHOD(void store(), gtk_clipboard_store)
 
-  //We use no_default_handler because this signal was added and we don't want to break the ABI by adding a virtual function.
-  _WRAP_SIGNAL(void owner_change(GdkEventOwnerChange* event), "owner_change", no_default_handler)
+  _WRAP_SIGNAL(void owner_change(GdkEventOwnerChange* event), "owner_change")
            
 };
 
diff --git a/gtk/src/entry.hg b/gtk/src/entry.hg
index 36d3457..6849efa 100644
--- a/gtk/src/entry.hg
+++ b/gtk/src/entry.hg
@@ -176,8 +176,8 @@ public:
   // "activate is probably about the only exception"
   _WRAP_SIGNAL(void activate(), "activate")
   
-  _WRAP_SIGNAL(void icon_release(EntryIconPosition icon_position, const GdkEventButton* event), "icon-release", no_default_handler)
-  _WRAP_SIGNAL(void icon_press(EntryIconPosition icon_position, const GdkEventButton* event), "icon-press", no_default_handler)
+  _WRAP_SIGNAL(void icon_release(EntryIconPosition icon_position, const GdkEventButton* event), "icon-release")
+  _WRAP_SIGNAL(void icon_press(EntryIconPosition icon_position, const GdkEventButton* event), "icon-press")
 
   _IGNORE_SIGNAL("move_cursor")
   _IGNORE_SIGNAL("delete_from_cursor")
diff --git a/gtk/src/entrycompletion.hg b/gtk/src/entrycompletion.hg
index 4029077..96e3e36 100644
--- a/gtk/src/entrycompletion.hg
+++ b/gtk/src/entrycompletion.hg
@@ -197,8 +197,6 @@ dnl
 
 #m4 _CONVERSION(`const char*',`const Glib::ustring&',__GCHARP_TO_USTRING)
 
-  //We use no_default_handler for these signals, because we can not add a new vfunc without breaking ABI.
-  //TODO: Remove no_default_handler when we do an ABI-break-with-parallel-install.
 
   /** Emitted when the inline autocompletion is triggered. 
    * The default behaviour is to make the entry display the 
@@ -214,7 +212,7 @@ dnl
    * @param prefix The common prefix of all possible completions.
    * @result true if the signal has been handled
    */ 
-  _WRAP_SIGNAL(bool insert_prefix(const Glib::ustring& prefix), insert_prefix, no_default_handler)
+  _WRAP_SIGNAL(bool insert_prefix(const Glib::ustring& prefix), insert_prefix)
 
   _WRAP_PROPERTY("model", Glib::RefPtr<Gtk::TreeModel>)
   _WRAP_PROPERTY("minimum_key_length", int)
diff --git a/gtk/src/filechooser.hg b/gtk/src/filechooser.hg
index 1f236aa..27848a5 100644
--- a/gtk/src/filechooser.hg
+++ b/gtk/src/filechooser.hg
@@ -194,7 +194,7 @@ public:
    * @see set_current_folder(), get_current_folder(),
    * set_current_folder_uri(), get_current_folder_uri().
    */
-  _WRAP_SIGNAL(void current_folder_changed(), "current_folder_changed", no_default_handler)
+  _WRAP_SIGNAL(void current_folder_changed(), "current_folder_changed")
   
   /** This signal is emitted when there is a change in the set of selected files
    * in a #GtkFileChooser.  This can happen when the user modifies the selection
@@ -210,7 +210,7 @@ public:
    * unselect_uri(), get_uri(),
    * get_uris().
    */
-  _WRAP_SIGNAL(void selection_changed(), "selection_changed", no_default_handler)
+  _WRAP_SIGNAL(void selection_changed(), "selection_changed")
   
   /** This signal is emitted when the preview in a file chooser should be
    * regenerated.  For example, this can happen when the currently selected file
@@ -228,7 +228,7 @@ public:
    * @see set_preview_widget(), set_preview_widget_active(),
    * set_use_preview_label(), get_preview_filename(), get_preview_uri().
    */
-  _WRAP_SIGNAL(void update_preview(), "update_preview", no_default_handler)
+  _WRAP_SIGNAL(void update_preview(), "update_preview")
   
   /** This signal is emitted when the user "activates" a file in the file
    * chooser.  This can happen by double-clicking on a file in the file list, or
@@ -240,9 +240,9 @@ public:
    *
    * @see get_filename(), get_filenames(), get_uri(), get_uris().
    */
-  _WRAP_SIGNAL(void file_activated(), "file_activated", no_default_handler)
+  _WRAP_SIGNAL(void file_activated(), "file_activated")
 
-  _WRAP_SIGNAL(FileChooserConfirmation confirm_overwrite(), "confirm-overwrite", no_default_handler)
+  _WRAP_SIGNAL(FileChooserConfirmation confirm_overwrite(), "confirm-overwrite")
 
   _WRAP_PROPERTY("action", FileChooserAction)
   //TODO: _WRAP_PROPERTY("file-system", FileSystem) //FileSystem is not really public API.
diff --git a/gtk/src/filechooserbutton.hg b/gtk/src/filechooserbutton.hg
index fd54f1f..ab0ef45 100644
--- a/gtk/src/filechooserbutton.hg
+++ b/gtk/src/filechooserbutton.hg
@@ -90,10 +90,9 @@ public:
   _WRAP_METHOD(bool get_focus_on_click() const, gtk_file_chooser_button_get_focus_on_click)
   _WRAP_METHOD(void set_focus_on_click(gboolean focus_on_click = true), gtk_file_chooser_button_set_focus_on_click)   
 
-  //TODO: Remove no_default_handler when we can break ABI.
   //This is a G_SIGNAL_ACTION signal, but it seems to be public API for applications.
   //See http://bugzilla.gnome.org/show_bug.cgi?id=353196
-  _WRAP_SIGNAL(void file_set(), "file-set", no_default_handler)
+  _WRAP_SIGNAL(void file_set(), "file-set")
 
   _WRAP_PROPERTY("focus-on-click", bool)
   _WRAP_PROPERTY("title", Glib::ustring)                                          
diff --git a/gtk/src/menushell.hg b/gtk/src/menushell.hg
index 15b0b1e..c9e1f3d 100644
--- a/gtk/src/menushell.hg
+++ b/gtk/src/menushell.hg
@@ -86,7 +86,7 @@ public:
 
   _WRAP_SIGNAL(void deactivate(), "deactivate")
   _WRAP_SIGNAL(void selection_done(), "selection_done")
-  _WRAP_SIGNAL(gboolean move_selected(int  distance), "move-selected", no_default_handler)
+  _WRAP_SIGNAL(gboolean move_selected(int  distance), "move-selected")
 
   //Keybinding signals:
   _IGNORE_SIGNAL("move_current")
diff --git a/gtk/src/notebook.hg b/gtk/src/notebook.hg
index 64c048c..b42e8cb 100644
--- a/gtk/src/notebook.hg
+++ b/gtk/src/notebook.hg
@@ -398,9 +398,9 @@ public:
   const PageList& pages() const;
 
   _WRAP_SIGNAL(void switch_page(GtkNotebookPage* page, guint page_num), "switch_page")
-  _WRAP_SIGNAL(void page_reordered(Widget* page, guint page_num), "page_reordered", no_default_handler)
-  _WRAP_SIGNAL(void page_removed(Widget* page, guint page_num), "page_removed", no_default_handler)
-  _WRAP_SIGNAL(void page_added(Widget* page, guint page_num), "page_added", no_default_handler)
+  _WRAP_SIGNAL(void page_reordered(Widget* page, guint page_num), "page_reordered")
+  _WRAP_SIGNAL(void page_removed(Widget* page, guint page_num), "page_removed")
+  _WRAP_SIGNAL(void page_added(Widget* page, guint page_num), "page_added")
 
 
   //Key-binding signals:
diff --git a/gtk/src/range.hg b/gtk/src/range.hg
index e967353..65a7afb 100644
--- a/gtk/src/range.hg
+++ b/gtk/src/range.hg
@@ -71,8 +71,6 @@ public:
   _WRAP_SIGNAL(void adjust_bounds(double new_value), "adjust_bounds")
   _WRAP_SIGNAL(void move_slider(ScrollType scroll), "move_slider")
   
-  //We use no_default_handler for this, because we can not add a new vfunc to 2.5 without breaking ABI.
-  //TODO: Remove no_default_handler when we do an ABI-break-with-parallel-install.
   /** The change_value signal is emitted when a scroll action is
    * performed on a range.  It allows an application to determine the
    * type of scroll event that occurred and the resultant new value.
@@ -94,7 +92,7 @@ public:
    * @result true to prevent other handlers from being invoked for the
    * signal, or false to propagate the signal further.
    */
-  _WRAP_SIGNAL(bool change_value(ScrollType scroll, double new_value), "change_value", no_default_handler)
+  _WRAP_SIGNAL(bool change_value(ScrollType scroll, double new_value), "change_value")
 
   _WRAP_PROPERTY("update-policy", UpdateType)
   _WRAP_PROPERTY("adjustment", Adjustment*)
diff --git a/gtk/src/recentchooser.hg b/gtk/src/recentchooser.hg
index 235c32e..48a4db8 100644
--- a/gtk/src/recentchooser.hg
+++ b/gtk/src/recentchooser.hg
@@ -120,14 +120,14 @@ public:
    * modifies the selection with the mouse or the keyboard, or when
    * explicitely calling functions to change the selection.
    */
-  _WRAP_SIGNAL(void selection_changed(), "selection-changed", no_default_handler)
+  _WRAP_SIGNAL(void selection_changed(), "selection-changed")
 
   /** This signal is emitted when the user "activates" a recent item
    * in the recent chooser.  This can happen by double-clicking on an item
    * in the recently used resources list, or by pressing
    * <keycap>Enter</keycap>.
    */
-  _WRAP_SIGNAL(void item_activated(), "item-activated", no_default_handler)
+  _WRAP_SIGNAL(void item_activated(), "item-activated")
 
   //Not wrapped because it's write-only and construct-only: _WRAP_PROPERTY("recent-manager", Glib::RefPtr<RecentManager>)
   _WRAP_PROPERTY("show-private", bool)
diff --git a/gtk/src/spinbutton.hg b/gtk/src/spinbutton.hg
index 42365cd..6683b12 100644
--- a/gtk/src/spinbutton.hg
+++ b/gtk/src/spinbutton.hg
@@ -111,7 +111,7 @@ public:
    */
   _WRAP_SIGNAL(bool output(), "output")
 
-  _WRAP_SIGNAL(bool wrapped(), "wrapped", no_default_handler)
+  _WRAP_SIGNAL(bool wrapped(), "wrapped")
 
   _WRAP_SIGNAL(void value_changed(), "value_changed")
 
diff --git a/gtk/src/statusicon.hg b/gtk/src/statusicon.hg
index 1f048e3..3d6a7de 100644
--- a/gtk/src/statusicon.hg
+++ b/gtk/src/statusicon.hg
@@ -178,12 +178,11 @@ public:
 
   _WRAP_SIGNAL(bool size_changed(int size), size_changed)
 
-  //TODO: Remove no_default_handler when we can break ABI.
-  _WRAP_SIGNAL(void activate(), activate, no_default_handler)
-  _WRAP_SIGNAL(void popup_menu(guint button, guint32 activate_time), popup_menu, no_default_handler)
-  _WRAP_SIGNAL(bool button_press_event(GdkEventButton* event), button_press_event, no_default_handler)
-  _WRAP_SIGNAL(bool button_release_event(GdkEventButton* event), button_release_event, no_default_handler)
-  _WRAP_SIGNAL(bool scroll_event(GdkEventScroll* event), scroll_event, no_default_handler)
+  _WRAP_SIGNAL(void activate(), activate)
+  _WRAP_SIGNAL(void popup_menu(guint button, guint32 activate_time), popup_menu)
+  _WRAP_SIGNAL(bool button_press_event(GdkEventButton* event), button_press_event)
+  _WRAP_SIGNAL(bool button_release_event(GdkEventButton* event), button_release_event)
+  _WRAP_SIGNAL(bool scroll_event(GdkEventScroll* event), scroll_event)
 };
 
 } // namespace Gtk
diff --git a/gtk/src/textbuffer.hg b/gtk/src/textbuffer.hg
index 80dcda2..2b700ff 100644
--- a/gtk/src/textbuffer.hg
+++ b/gtk/src/textbuffer.hg
@@ -577,9 +577,8 @@ _CONVERSION(`const char*',`const Glib::ustring&',`Glib::ustring(p1, p1 + p2)')
   _WRAP_SIGNAL(void begin_user_action(), "begin_user_action")
   _WRAP_SIGNAL(void end_user_action(), "end_user_action")
 
-  //TODO: Remove no_default_handler when we can break ABI:
 #m4 _CONVERSION(`GtkClipboard*',`const Glib::RefPtr<Gtk::Clipboard>&', Glib::wrap($3, true))
-  _WRAP_SIGNAL(void paste_done(const Glib::RefPtr<Gtk::Clipboard>& clipboard), "paste_done", no_default_handler)
+  _WRAP_SIGNAL(void paste_done(const Glib::RefPtr<Gtk::Clipboard>& clipboard), "paste_done")
 
   _WRAP_PROPERTY("text", Glib::ustring)
   _WRAP_PROPERTY("has-selection", bool)
diff --git a/gtk/src/toolitem.hg b/gtk/src/toolitem.hg
index f7e2bca..238101a 100644
--- a/gtk/src/toolitem.hg
+++ b/gtk/src/toolitem.hg
@@ -122,7 +122,6 @@ public:
    */
   _WRAP_SIGNAL(void toolbar_reconfigured(), toolbar_reconfigured)
 
-  //We use no_default_handler for this, because we can not add a new vfunc to 2.5 without breaking ABI.
 
   #ifndef GTKMM_DISABLE_DEPRECATED
   //Note that we can ifdef this out, only because it doesn't affect class size, because we use no_default_handler:
@@ -137,7 +136,7 @@ public:
    * @result true if the signal was handled, false if not.
    */
   Glib::SignalProxy3< bool,Tooltips*,const Glib::ustring&,const Glib::ustring& > signal_set_tooltip();
-  //_WRAP_SIGNAL(bool set_tooltip(Tooltips* tooltips, const Glib::ustring& tip_text, const Glib::ustring& tip_private), set_tooltip, no_default_handler, deprecated) //TODO: Implement deprecated for _WRAP_SIGNAL() to avoid hand-coding this:
+  //_WRAP_SIGNAL(bool set_tooltip(Tooltips* tooltips, const Glib::ustring& tip_text, const Glib::ustring& tip_private), set_tooltip, deprecated) //TODO: Implement deprecated for _WRAP_SIGNAL() to avoid hand-coding this:
   #endif //GTKMM_DISABLE_DEPRECATED
 
 
diff --git a/gtk/src/uimanager.hg b/gtk/src/uimanager.hg
index c0888cd..295a8d6 100644
--- a/gtk/src/uimanager.hg
+++ b/gtk/src/uimanager.hg
@@ -275,7 +275,7 @@ public:
    * @param action the action
    * @param widget the proxy
    */
-  _WRAP_SIGNAL(void connect_proxy(const Glib::RefPtr<Action>& action, Widget* widget), connect_proxy, no_default_handler)
+  _WRAP_SIGNAL(void connect_proxy(const Glib::RefPtr<Action>& action, Widget* widget), connect_proxy)
   
   /** The disconnect_proxy signal is emitted after disconnecting a proxy 
    * from an action in the group. 
@@ -283,7 +283,7 @@ public:
    * @param action the action
    * @param widget the proxy
    */
-  _WRAP_SIGNAL(void disconnect_proxy(const Glib::RefPtr<Action>& action, Widget* widget), disconnect_proxy, no_default_handler)
+  _WRAP_SIGNAL(void disconnect_proxy(const Glib::RefPtr<Action>& action, Widget* widget), disconnect_proxy)
   
   /** The pre_activate signal is emitted just before the @a action
    * is activated.
@@ -293,7 +293,7 @@ public:
    *
    * @param action the action
    */
-  _WRAP_SIGNAL(void pre_activate(const Glib::RefPtr<Action>& action), pre_activate, no_default_handler)
+  _WRAP_SIGNAL(void pre_activate(const Glib::RefPtr<Action>& action), pre_activate)
   
   /** The post_activate signal is emitted just after the @a action
    * is activated.
@@ -303,7 +303,7 @@ public:
    *
    * @param action the action
    */
-  _WRAP_SIGNAL(void post_activate(const Glib::RefPtr<Action>& action), post_activate, no_default_handler)
+  _WRAP_SIGNAL(void post_activate(const Glib::RefPtr<Action>& action), post_activate)
 
   _WRAP_PROPERTY("add_tearoffs", bool)
   _WRAP_PROPERTY("ui", Glib::ustring)
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index 2121050..115a610 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -684,7 +684,7 @@ public:
   _WRAP_SIGNAL(void grab_focus(), "grab_focus")
   _WRAP_SIGNAL(bool focus(DirectionType direction), "focus")
   _WRAP_SIGNAL(bool event(GdkEvent* event), "event")
-  _WRAP_SIGNAL(void event_after(GdkEvent* event), "event_after", no_default_handler)
+  _WRAP_SIGNAL(void event_after(GdkEvent* event), "event_after")
 
   //: Event triggered by user pressing button.
   _WRAP_SIGNAL(bool button_press_event(GdkEventButton* event),"button_press_event")
@@ -807,7 +807,7 @@ dnl
    */
   _WRAP_SIGNAL(void drag_data_delete(const Glib::RefPtr<Gdk::DragContext>& context), "drag_data_delete")
 
-  _WRAP_SIGNAL(bool drag_failed(const Glib::RefPtr<Gdk::DragContext>& context, DragResult result), "drag_failed", no_default_handler)
+  _WRAP_SIGNAL(bool drag_failed(const Glib::RefPtr<Gdk::DragContext>& context, DragResult result), "drag_failed")
   
   /**  The drag_leave signal is emitted on the drop site when the cursor leaves the widget.
    * A typical reason to connect to this signal is to undo things done in the drag_motion signal handler, 
@@ -887,12 +887,12 @@ dnl
   
   _WRAP_SIGNAL(void screen_changed(const Glib::RefPtr<Gdk::Screen>& previous_screen), "screen_changed")
 
-  _WRAP_SIGNAL(void composited_changed(), "composited_changed", no_default_handler)
+  _WRAP_SIGNAL(void composited_changed(), "composited_changed")
 
 //TODO: The signal_id is very C-like here:                                                                          
   //_WRAP_SIGNAL(bool can_activate_accel(guint signal_id), "can_activate_accel")
   
-  _WRAP_SIGNAL(bool popup_menu(), "popup_menu", no_default_handler) //Note that popup-menu is a keybinding signal, but is really meant to be wrapped.
+  _WRAP_SIGNAL(bool popup_menu(), "popup_menu") //Note that popup-menu is a keybinding signal, but is really meant to be wrapped.
 
   //Keybinding signals:
   _IGNORE_SIGNAL("show_help")
@@ -901,12 +901,12 @@ dnl
   _IGNORE_SIGNAL("destroy-event")
 
   // Tooltip signal
-  _WRAP_SIGNAL(bool query_tooltip(int x, int y, bool keyboard_tooltip, const Glib::RefPtr<Tooltip>& tooltip), "query_tooltip", no_default_handler)
+  _WRAP_SIGNAL(bool query_tooltip(int x, int y, bool keyboard_tooltip, const Glib::RefPtr<Tooltip>& tooltip), "query_tooltip")
 
   //(This was added to GTK+ 2.8 but forgotten by us until gtkmm 2.13/14):
-  _WRAP_SIGNAL(bool grab_broken_event(GdkEventGrabBroken* event), "grab_broken_event", no_default_handler)
+  _WRAP_SIGNAL(bool grab_broken_event(GdkEventGrabBroken* event), "grab_broken_event")
 
-  _WRAP_SIGNAL(bool damage_event(GdkEventExpose* event), "damage-event", no_default_handler)
+  _WRAP_SIGNAL(bool damage_event(GdkEventExpose* event), "damage-event")
 
   _WRAP_PROPERTY("name", Glib::ustring)
   _WRAP_PROPERTY("parent", Container*)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]