From 20c8c8b91cf2719249a729492ec84b7282dc03fb Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 20 Mar 2013 18:17:32 -0400 Subject: Add annotations to gtk headers Add annotations to all exported functions in GTK+ headers. --- gtk/gtksettings.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gtk/gtksettings.h') diff --git a/gtk/gtksettings.h b/gtk/gtksettings.h index 9e6434a12e..b6a13dc372 100644 --- a/gtk/gtksettings.h +++ b/gtk/gtksettings.h @@ -78,44 +78,58 @@ struct _GtkSettingsValue /* --- functions --- */ +GDK_AVAILABLE_IN_ALL GType gtk_settings_get_type (void) G_GNUC_CONST; #ifndef GDK_MULTIHEAD_SAFE +GDK_AVAILABLE_IN_ALL GtkSettings* gtk_settings_get_default (void); #endif +GDK_AVAILABLE_IN_ALL GtkSettings* gtk_settings_get_for_screen (GdkScreen *screen); +GDK_AVAILABLE_IN_ALL void gtk_settings_install_property (GParamSpec *pspec); +GDK_AVAILABLE_IN_ALL void gtk_settings_install_property_parser (GParamSpec *pspec, GtkRcPropertyParser parser); /* --- precoded parsing functions --- */ +GDK_AVAILABLE_IN_ALL gboolean gtk_rc_property_parse_color (const GParamSpec *pspec, const GString *gstring, GValue *property_value); +GDK_AVAILABLE_IN_ALL gboolean gtk_rc_property_parse_enum (const GParamSpec *pspec, const GString *gstring, GValue *property_value); +GDK_AVAILABLE_IN_ALL gboolean gtk_rc_property_parse_flags (const GParamSpec *pspec, const GString *gstring, GValue *property_value); +GDK_AVAILABLE_IN_ALL gboolean gtk_rc_property_parse_requisition (const GParamSpec *pspec, const GString *gstring, GValue *property_value); +GDK_AVAILABLE_IN_ALL gboolean gtk_rc_property_parse_border (const GParamSpec *pspec, const GString *gstring, GValue *property_value); +GDK_AVAILABLE_IN_ALL void gtk_settings_set_property_value (GtkSettings *settings, const gchar *name, const GtkSettingsValue *svalue); +GDK_AVAILABLE_IN_ALL void gtk_settings_set_string_property (GtkSettings *settings, const gchar *name, const gchar *v_string, const gchar *origin); +GDK_AVAILABLE_IN_ALL void gtk_settings_set_long_property (GtkSettings *settings, const gchar *name, glong v_long, const gchar *origin); +GDK_AVAILABLE_IN_ALL void gtk_settings_set_double_property (GtkSettings *settings, const gchar *name, gdouble v_double, -- cgit v1.2.1