[gtkmm] Gtk::FontButton: Remove set/get/property_font_name()



commit 008a10f13af9e2da501b7659245b6c4b5104b188
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Wed Dec 27 09:13:24 2017 +0100

    Gtk::FontButton: Remove set/get/property_font_name()
    
    They have been removed from gtk+.
    Use Gtk::FontChooser::set/get/property_font() instead.

 gtk/src/fontbutton.hg |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gtk/src/fontbutton.hg b/gtk/src/fontbutton.hg
index 75fcbee..34180ed 100644
--- a/gtk/src/fontbutton.hg
+++ b/gtk/src/fontbutton.hg
@@ -45,7 +45,7 @@ class FontButton
   _IMPLEMENTS_INTERFACE(FontChooser)
 public:
   _CTOR_DEFAULT()
-  _WRAP_CTOR(FontButton(const Glib::ustring& font_name), gtk_font_button_new_with_font)
+  _WRAP_CTOR(FontButton(const Glib::ustring& font), gtk_font_button_new_with_font)
 
   _WRAP_METHOD(Glib::ustring get_title() const, gtk_font_button_get_title)
   _WRAP_METHOD(void set_title(const Glib::ustring& title), gtk_font_button_set_title)
@@ -53,15 +53,12 @@ public:
   _WRAP_METHOD(void set_use_font(bool use_font = true), gtk_font_button_set_use_font)
   _WRAP_METHOD(bool get_use_size() const, gtk_font_button_get_use_size)
   _WRAP_METHOD(void set_use_size(bool use_size = true), gtk_font_button_set_use_size)
-  _WRAP_METHOD(Glib::ustring get_font_name() const, gtk_font_button_get_font_name)
-  _WRAP_METHOD(bool set_font_name(const Glib::ustring& fontname), gtk_font_button_set_font_name)
   _WRAP_METHOD(bool get_show_style() const, gtk_font_button_get_show_style)
   _WRAP_METHOD(void set_show_style(bool show_style = true), gtk_font_button_set_show_style)
   _WRAP_METHOD(bool get_show_size() const, gtk_font_button_get_show_size)
   _WRAP_METHOD(void set_show_size(bool show_size = true), gtk_font_button_set_show_size)
 
   _WRAP_PROPERTY("title", Glib::ustring)
-  _WRAP_PROPERTY("font-name", Glib::ustring)
   _WRAP_PROPERTY("use-font", bool)
   _WRAP_PROPERTY("use-size", bool)
   _WRAP_PROPERTY("show-style", bool)


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