widget: Remove gtk_widget_class_list_style_properties

Unused.
This commit is contained in:
Timm Bäder 2017-01-26 18:58:10 +01:00
parent de56947e86
commit 6c6ed7496c
3 changed files with 0 additions and 33 deletions

View File

@ -4560,7 +4560,6 @@ gtk_widget_set_redraw_on_allocate
gtk_widget_mnemonic_activate
gtk_widget_class_install_style_property
gtk_widget_class_find_style_property
gtk_widget_class_list_style_properties
gtk_widget_send_focus_change
gtk_widget_style_get
gtk_widget_style_get_valist

View File

@ -11409,35 +11409,6 @@ gtk_widget_class_find_style_property (GtkWidgetClass *klass,
TRUE);
}
/**
* gtk_widget_class_list_style_properties:
* @klass: a #GtkWidgetClass
* @n_properties: (out): location to return the number of style properties found
*
* Returns all style properties of a widget class.
*
* Returns: (array length=n_properties) (transfer container): a
* newly allocated array of #GParamSpec*. The array must be
* freed with g_free().
*
* Since: 2.2
*/
GParamSpec**
gtk_widget_class_list_style_properties (GtkWidgetClass *klass,
guint *n_properties)
{
GParamSpec **pspecs;
guint n;
pspecs = g_param_spec_pool_list (style_property_spec_pool,
G_OBJECT_CLASS_TYPE (klass),
&n);
if (n_properties)
*n_properties = n;
return pspecs;
}
/**
* gtk_widget_style_get_valist:
* @widget: a #GtkWidget

View File

@ -975,9 +975,6 @@ GDK_AVAILABLE_IN_ALL
GParamSpec* gtk_widget_class_find_style_property (GtkWidgetClass *klass,
const gchar *property_name);
GDK_AVAILABLE_IN_ALL
GParamSpec** gtk_widget_class_list_style_properties (GtkWidgetClass *klass,
guint *n_properties);
GDK_AVAILABLE_IN_ALL
void gtk_widget_style_get_valist (GtkWidget *widget,
const gchar *first_property_name,
va_list var_args);