forked from AuroraMiddleware/gtk
widget: Remove gtk_widget_class_list_style_properties
Unused.
This commit is contained in:
parent
de56947e86
commit
6c6ed7496c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user