diff options
author | Benjamin Otte <otte@redhat.com> | 2012-01-02 19:22:30 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:56 +0100 |
commit | 9181282d8812e2404400f0a5cdbac582037bdce2 (patch) | |
tree | 49de096a767664343d531e1c8b90b7d34944f719 /gtk/gtkthemingbackground.c | |
parent | 32c8bbb575b7ef584a610a2ec2b5c1bc683bd4ab (diff) | |
download | gtk+-9181282d8812e2404400f0a5cdbac582037bdce2.tar.gz |
style: Remove GtkStylePropertyContext again
We need to solve this differently. I have no idea yet how, but I'll
invent something later.
This only affects win32 theming and that's broken anyway.
Diffstat (limited to 'gtk/gtkthemingbackground.c')
-rw-r--r-- | gtk/gtkthemingbackground.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gtk/gtkthemingbackground.c b/gtk/gtkthemingbackground.c index dda56e418f..9e21110a6b 100644 --- a/gtk/gtkthemingbackground.c +++ b/gtk/gtkthemingbackground.c @@ -64,9 +64,9 @@ _gtk_theming_background_apply_running_transformation (GtkThemingBackground *bg, other_flags = bg->flags | GTK_STATE_FLAG_PRELIGHT; gtk_theming_engine_get_background_color (bg->engine, other_flags, &other_bg); - _gtk_theming_engine_get (bg->engine, other_flags, &bg->prop_context, - "background-image", &other_pattern, - NULL); + gtk_theming_engine_get (bg->engine, other_flags, + "background-image", &other_pattern, + NULL); if (bg->pattern && other_pattern) { @@ -258,8 +258,6 @@ _gtk_theming_background_apply_origin (GtkThemingBackground *bg) } bg->image_rect = image_rect; - bg->prop_context.width = image_rect.width; - bg->prop_context.height = image_rect.height; } static void @@ -389,9 +387,9 @@ _gtk_theming_background_init_engine (GtkThemingBackground *bg) _gtk_theming_background_apply_clip (bg); _gtk_theming_background_apply_origin (bg); - _gtk_theming_engine_get (bg->engine, bg->flags, &bg->prop_context, - "background-image", &bg->pattern, - NULL); + gtk_theming_engine_get (bg->engine, bg->flags, + "background-image", &bg->pattern, + NULL); } void |