diff options
author | Stefano Karapetsas <[email protected]> | 2014-03-07 00:15:43 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-03-07 00:15:43 +0100 |
commit | fcb085d9268aa30958d50500d1f7402d471ec7be (patch) | |
tree | 6569a0c1cb3934e7620f46bf1aa6d1269f707013 /libmate-desktop/mate-bg-crossfade.c | |
parent | 9b92002e153b16700fd15ffb32fe15d1b2e09704 (diff) | |
download | mate-desktop-fcb085d9268aa30958d50500d1f7402d471ec7be.tar.bz2 mate-desktop-fcb085d9268aa30958d50500d1f7402d471ec7be.tar.xz |
Revert "gtk3: GdkRGBA support"
This reverts commit e95d24559060365eb4fee8154ad82434bf3c8a0a.
Diffstat (limited to 'libmate-desktop/mate-bg-crossfade.c')
-rw-r--r-- | libmate-desktop/mate-bg-crossfade.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libmate-desktop/mate-bg-crossfade.c b/libmate-desktop/mate-bg-crossfade.c index 716c782..3242004 100644 --- a/libmate-desktop/mate-bg-crossfade.c +++ b/libmate-desktop/mate-bg-crossfade.c @@ -277,19 +277,9 @@ tile_surface (cairo_surface_t *surface, } else { -#if GTK_CHECK_VERSION(3, 0, 0) - GtkStyleContext *style_context; - style_context = gtk_style_context_new(); - GdkRGBA color; - gtk_style_context_get(style_context, GTK_STATE_FLAG_NORMAL, - GTK_STYLE_PROPERTY_BACKGROUND_COLOR, &color, - NULL); - gdk_cairo_set_source_rgba(cr, &color); -#else GtkStyle *style; style = gtk_widget_get_default_style (); gdk_cairo_set_source_color(cr, &style->bg[GTK_STATE_NORMAL]); -#endif } cairo_paint (cr); |