[gtk+] Deprecate gtk_settings_install_property APIs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Deprecate gtk_settings_install_property APIs
- Date: Mon, 20 Oct 2014 02:35:02 +0000 (UTC)
commit ce915dc6f0bed10035c6537c1fe2f61519af028c
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 19 22:33:24 2014 -0400
Deprecate gtk_settings_install_property APIs
These are not useful outside GTK+.
gtk/gtksettings.c | 8 ++++++++
gtk/gtksettings.h | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 3144afa..706d317 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -2231,6 +2231,12 @@ _gtk_rc_property_parser_from_type (GType type)
return NULL;
}
+/**
+ * gtk_settings_install_property:
+ * @pspec:
+ *
+ * Deprecated: 3.16: This function is not useful outside GTK+.
+ */
void
gtk_settings_install_property (GParamSpec *pspec)
{
@@ -2252,6 +2258,8 @@ gtk_settings_install_property (GParamSpec *pspec)
* gtk_settings_install_property_parser:
* @pspec:
* @parser: (scope call):
+ *
+ * Deprecated: 3.16: This function is not useful outside GTK+.
*/
void
gtk_settings_install_property_parser (GParamSpec *pspec,
diff --git a/gtk/gtksettings.h b/gtk/gtksettings.h
index 4ff91bd..95fe638 100644
--- a/gtk/gtksettings.h
+++ b/gtk/gtksettings.h
@@ -92,9 +92,9 @@ GtkSettings* gtk_settings_get_default (void);
GDK_AVAILABLE_IN_ALL
GtkSettings* gtk_settings_get_for_screen (GdkScreen *screen);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_16
void gtk_settings_install_property (GParamSpec *pspec);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_16
void gtk_settings_install_property_parser (GParamSpec *pspec,
GtkRcPropertyParser parser);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]