[gtkmm/gtkmm-3-24] Gtk::CssProvider: Deprecate get_default()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/gtkmm-3-24] Gtk::CssProvider: Deprecate get_default()
- Date: Sun, 19 Aug 2018 10:55:16 +0000 (UTC)
commit 06e9791f4e83ba2a9dbfcf5d37db1abfc445607a
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sun Aug 19 12:50:42 2018 +0200
Gtk::CssProvider: Deprecate get_default()
gtk_css_provider_get_default() has been deprecated in branch gtk-3-24.
gtk/src/cssprovider.hg | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gtk/src/cssprovider.hg b/gtk/src/cssprovider.hg
index c9822093..b7c692ce 100644
--- a/gtk/src/cssprovider.hg
+++ b/gtk/src/cssprovider.hg
@@ -73,7 +73,8 @@ public:
_WRAP_METHOD(bool load_from_path(const std::string& path), gtk_css_provider_load_from_path, errthrow)
_WRAP_METHOD(void load_from_resource(const std::string& resource_path),
gtk_css_provider_load_from_resource)
- _WRAP_METHOD(static Glib::RefPtr<CssProvider> get_default(), gtk_css_provider_get_default, refreturn)
+ _WRAP_METHOD(static Glib::RefPtr<CssProvider> get_default(), gtk_css_provider_get_default, refreturn,
+ deprecated "Use create() instead.")
_WRAP_METHOD(static Glib::RefPtr<CssProvider> get_named(const Glib::ustring& name, const Glib::ustring&
variant), gtk_css_provider_get_named, refreturn)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]