[gtk+] themingbackground: fix copy/paste typo



commit 20f8dd2309ba5616523463315f86d194bbf79226
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Apr 30 12:10:45 2012 -0400

    themingbackground: fix copy/paste typo
    
    We need to fetch the area value for the origin, not for the clip.

 gtk/gtkthemingbackground.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkthemingbackground.c b/gtk/gtkthemingbackground.c
index 245164c..158ac32 100644
--- a/gtk/gtkthemingbackground.c
+++ b/gtk/gtkthemingbackground.c
@@ -60,7 +60,7 @@ _gtk_theming_background_apply_origin (GtkThemingBackground *bg)
   GtkCssArea origin;
   cairo_rectangle_t image_rect;
 
-  origin = _gtk_css_area_value_get (_gtk_style_context_peek_property (bg->context, GTK_CSS_PROPERTY_BACKGROUND_CLIP));
+  origin = _gtk_css_area_value_get (_gtk_style_context_peek_property (bg->context, GTK_CSS_PROPERTY_BACKGROUND_ORIGIN));
 
   /* The default size of the background image depends on the
      background-origin value as this affects the top left



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]