Add GtkWidgetPath parameter to gtk_style_provider_get_style().

This commit is contained in:
Carlos Garnacho
2010-04-11 20:30:24 +02:00
parent 9971f386b0
commit 7c5c4d86ae
4 changed files with 18 additions and 8 deletions

View File

@ -21,6 +21,7 @@
#define __GTK_STYLE_PROVIDER_H__
#include <glib-object.h>
#include "gtkwidgetpath.h"
#include "gtkstyleset.h"
#include "gtkenums.h"
@ -45,12 +46,14 @@ struct GtkStyleProviderIface
{
GTypeInterface g_iface;
GtkStyleSet * (* get_style) (GtkStyleProvider *provider);
GtkStyleSet * (* get_style) (GtkStyleProvider *provider,
GtkWidgetPath *path);
};
GType gtk_style_provider_get_type (void) G_GNUC_CONST;
GtkStyleSet *gtk_style_provider_get_style (GtkStyleProvider *provider);
GtkStyleSet *gtk_style_provider_get_style (GtkStyleProvider *provider,
GtkWidgetPath *path);
G_END_DECLS