return iface->get_style_property (provider, widget_path, property_name, value);
}
+GtkIconFactory *
+gtk_style_provider_get_icon_factory (GtkStyleProvider *provider,
+ GtkWidgetPath *path)
+{
+ GtkStyleProviderIface *iface;
+
+ g_return_val_if_fail (GTK_IS_STYLE_PROVIDER (provider), NULL);
+ g_return_val_if_fail (path != NULL, NULL);
+
+ iface = GTK_STYLE_PROVIDER_GET_IFACE (provider);
+
+ if (!iface->get_icon_factory)
+ return NULL;
+
+ return iface->get_icon_factory (provider, path);
+}
#define __GTK_STYLE_PROVIDER_C__
#include "gtkaliasdef.c"
#include <glib-object.h>
#include "gtkwidgetpath.h"
+#include "gtkiconfactory.h"
#include "gtkstyleset.h"
#include "gtkenums.h"
GtkWidgetPath *path,
const gchar *property_name,
GValue *value);
+
+ GtkIconFactory * (* get_icon_factory) (GtkStyleProvider *provider,
+ GtkWidgetPath *path);
};
GType gtk_style_provider_get_type (void) G_GNUC_CONST;
const gchar *property_name,
GValue *value);
+GtkIconFactory * gtk_style_provider_get_icon_factory (GtkStyleProvider *provider,
+ GtkWidgetPath *path);
+
G_END_DECLS
#endif /* __GTK_STYLE_PROVIDER_H__ */