[gtkmm] Gtk::FontButton: Implement the FontChooser interface
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::FontButton: Implement the FontChooser interface
- Date: Sun, 13 Nov 2016 14:55:42 +0000 (UTC)
commit f99efe216551ba47e25bee8ab3d3a98853249882
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Sun Nov 13 15:44:44 2016 +0100
Gtk::FontButton: Implement the FontChooser interface
gtk/src/fontbutton.hg | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/gtk/src/fontbutton.hg b/gtk/src/fontbutton.hg
index 86ba10b..6b1a80f 100644
--- a/gtk/src/fontbutton.hg
+++ b/gtk/src/fontbutton.hg
@@ -17,7 +17,7 @@
*/
#include <gtkmm/button.h>
-//TODO: When we can break ABI: #include <gtkmm/fontchooser.h>
+#include <gtkmm/fontchooser.h>
_DEFS(gtkmm,gtk)
_PINCLUDE(gtkmm/private/button_p.h)
@@ -38,11 +38,11 @@ namespace Gtk
* @ingroup Widgets
*/
class FontButton
- : public Button
- //TODO: When we can break ABI: public FontChooser
+ : public Button,
+ public FontChooser
{
_CLASS_GTKOBJECT(FontButton, GtkFontButton, GTK_FONT_BUTTON, Gtk::Button, GtkButton)
- //TODO: When we can break ABI: _IMPLEMENTS_INTERFACE(FontChooser)
+ _IMPLEMENTS_INTERFACE(FontChooser)
public:
_CTOR_DEFAULT()
_WRAP_CTOR(FontButton(const Glib::ustring& font_name), gtk_font_button_new_with_font)
@@ -70,6 +70,4 @@ public:
_WRAP_SIGNAL(void font_set(), "font-set")
};
-
} // namespace Gtk
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]