[gtkmm] FontChooserDialog: Remove default signal handler to prevent ABI break.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] FontChooserDialog: Remove default signal handler to prevent ABI break.
- Date: Fri, 2 Mar 2012 20:28:50 +0000 (UTC)
commit 6e5dd2a7a509cfa27add9b13c23d58a72bfbe98d
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Mar 2 21:28:39 2012 +0100
FontChooserDialog: Remove default signal handler to prevent ABI break.
* gtk/src/fontchooser.hg: Use the no_default_handler option because
the signal was not actually in the gtkmm 3.2 API, because we did not
generate the .defs for it.
ChangeLog | 8 ++++++++
gtk/src/fontchooser.hg | 3 ++-
2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4983893..b6ec1f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2012-03-02 Murray Cumming <murrayc murrayc com>
+ FontChooserDialog: Remove default signal handler to prevent ABI break.
+
+ * gtk/src/fontchooser.hg: Use the no_default_handler option because
+ the signal was not actually in the gtkmm 3.2 API, because we did not
+ generate the .defs for it.
+
+2012-03-02 Murray Cumming <murrayc murrayc com>
+
Add property and signal defs for GtkFontChooser*.
* tools/extra_defs_gen/generate_defs_gtk.cc: Add GTK_FONT_CHOOSER,
diff --git a/gtk/src/fontchooser.hg b/gtk/src/fontchooser.hg
index a9fb997..5830318 100644
--- a/gtk/src/fontchooser.hg
+++ b/gtk/src/fontchooser.hg
@@ -79,7 +79,8 @@ void gtk_font_chooser_set_filter_func (GtkFontChooser *fo
GDestroyNotify destroy);
*/
- _WRAP_SIGNAL(void font_activated(const Glib::ustring& fontname), "font-activated")
+ //TODO: Remove no_default_handler when we can break ABI.
+ _WRAP_SIGNAL(void font_activated(const Glib::ustring& fontname), "font-activated", no_default_handler)
_WRAP_PROPERTY("font", Glib::ustring)
_WRAP_PROPERTY("font-desc", Pango::FontDescription)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]