summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleproperty.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-02 19:14:28 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-09 18:37:56 +0100
commit32c8bbb575b7ef584a610a2ec2b5c1bc683bd4ab (patch)
treefd7a9a26299283ec9a79b419f4c512455075ab21 /gtk/gtkstyleproperty.c
parenta9d1be0bef22fd6c628e97b8ec800eee0ea3dd3b (diff)
downloadgtk+-32c8bbb575b7ef584a610a2ec2b5c1bc683bd4ab.tar.gz
styleproperty: Remove context arg from _gtk_style_context_query()
Diffstat (limited to 'gtk/gtkstyleproperty.c')
-rw-r--r--gtk/gtkstyleproperty.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c
index 2a53cfd00e..a8197842d7 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -211,21 +211,19 @@ void
_gtk_style_property_query (GtkStyleProperty *property,
GtkStyleProperties *props,
GtkStateFlags state,
- GtkStylePropertyContext *context,
GValue *value)
{
GtkStylePropertyClass *klass;
g_return_if_fail (property != NULL);
g_return_if_fail (GTK_IS_STYLE_PROPERTIES (props));
- g_return_if_fail (context != NULL);
g_return_if_fail (value != NULL);
klass = GTK_STYLE_PROPERTY_GET_CLASS (property);
g_value_init (value, property->value_type);
- klass->query (property, props, state, context, value);
+ klass->query (property, props, state, value);
}
static void