diff options
author | Felix Riemann <[email protected]> | 2017-04-22 00:12:24 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-04-23 12:01:00 +0200 |
commit | a35fef5eeddac17a88302347366261dcd1b6a8ab (patch) | |
tree | a0beeefdfc73978362e9bbe3ba21d04e5a03a501 /src/eom-scroll-view.h | |
parent | 196ecd455fb85454f9e8351d0ee885bd23f16250 (diff) | |
download | eom-a35fef5eeddac17a88302347366261dcd1b6a8ab.tar.bz2 eom-a35fef5eeddac17a88302347366261dcd1b6a8ab.tar.xz |
EomScrollView: Switch to GdkRGBA for background and transparent colors
This allows passing the colors more or less directly to cairo
without having to convert it from and to the GdkColor format.
taken from:
https://git.gnome.org/browse/eog/commit/?id=823a4cd
Diffstat (limited to 'src/eom-scroll-view.h')
-rw-r--r-- | src/eom-scroll-view.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eom-scroll-view.h b/src/eom-scroll-view.h index d618fff..69a57a4 100644 --- a/src/eom-scroll-view.h +++ b/src/eom-scroll-view.h @@ -47,14 +47,14 @@ void eom_scroll_view_set_zoom_upscale (EomScrollView *view, gboolean upscale void eom_scroll_view_set_zoom_multiplier (EomScrollView *view, gdouble multiplier); void eom_scroll_view_set_antialiasing_in (EomScrollView *view, gboolean state); void eom_scroll_view_set_antialiasing_out (EomScrollView *view, gboolean state); -void eom_scroll_view_set_transparency_color (EomScrollView *view, GdkColor *color); +void eom_scroll_view_set_transparency_color (EomScrollView *view, GdkRGBA *color); void eom_scroll_view_set_transparency (EomScrollView *view, EomTransparencyStyle style); gboolean eom_scroll_view_scrollbars_visible (EomScrollView *view); void eom_scroll_view_set_popup (EomScrollView *view, GtkMenu *menu); void eom_scroll_view_set_background_color (EomScrollView *view, - const GdkColor *color); + const GdkRGBA *color); void eom_scroll_view_override_bg_color (EomScrollView *view, - const GdkColor *color); + const GdkRGBA *color); void eom_scroll_view_set_use_bg_color (EomScrollView *view, gboolean use); /* zoom api */ void eom_scroll_view_zoom_in (EomScrollView *view, gboolean smooth); |