diff options
author | monsta <[email protected]> | 2016-11-20 22:15:39 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-20 22:15:39 +0300 |
commit | cdf431991d5a5253a99fffb3166965c4e84fb143 (patch) | |
tree | 05f32a431de6daf231808842f1c80d8b618cd980 /libmate-desktop/mate-bg.h | |
parent | 8a02c826552076be5f85bc9412252d096d4f01bb (diff) | |
download | mate-desktop-cdf431991d5a5253a99fffb3166965c4e84fb143.tar.bz2 mate-desktop-cdf431991d5a5253a99fffb3166965c4e84fb143.tar.xz |
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'libmate-desktop/mate-bg.h')
-rw-r--r-- | libmate-desktop/mate-bg.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libmate-desktop/mate-bg.h b/libmate-desktop/mate-bg.h index 1b612a6..a1adf36 100644 --- a/libmate-desktop/mate-bg.h +++ b/libmate-desktop/mate-bg.h @@ -102,13 +102,8 @@ void mate_bg_set_placement (MateBG *bg, MateBGPlacement placement); void mate_bg_set_color (MateBG *bg, MateBGColorType type, -#if GTK_CHECK_VERSION(3, 0, 0) GdkRGBA *primary, GdkRGBA *secondary); -#else - GdkColor *primary, - GdkColor *secondary); -#endif void mate_bg_set_draw_background (MateBG *bg, gboolean draw_background); /* Getters */ @@ -116,13 +111,8 @@ gboolean mate_bg_get_draw_background (MateBG *bg); MateBGPlacement mate_bg_get_placement (MateBG *bg); void mate_bg_get_color (MateBG *bg, MateBGColorType *type, -#if GTK_CHECK_VERSION(3, 0, 0) GdkRGBA *primary, GdkRGBA *secondary); -#else - GdkColor *primary, - GdkColor *secondary); -#endif const gchar * mate_bg_get_filename (MateBG *bg); /* Drawing and thumbnailing */ @@ -131,11 +121,7 @@ void mate_bg_draw (MateBG *bg, GdkScreen *screen, gboolean is_root); -#if GTK_CHECK_VERSION(3, 0, 0) cairo_surface_t *mate_bg_create_surface (MateBG *bg, -#else -GdkPixmap *mate_bg_create_pixmap (MateBG *bg, -#endif GdkWindow *window, int width, int height, @@ -168,22 +154,12 @@ GdkPixbuf * mate_bg_create_frame_thumbnail (MateBG *bg, * if we decide to stabilize the API then we may want to make * these object methods, drop mate_bg_create_surface, etc. */ -#if GTK_CHECK_VERSION(3, 0, 0) void mate_bg_set_surface_as_root (GdkScreen *screen, cairo_surface_t *surface); MateBGCrossfade *mate_bg_set_surface_as_root_with_crossfade (GdkScreen *screen, cairo_surface_t *surface); cairo_surface_t *mate_bg_get_surface_from_root (GdkScreen *screen); -#else /* GTK_CHECK_VERSION(3, 0, 0) */ - -void mate_bg_set_pixmap_as_root (GdkScreen *screen, - GdkPixmap *pixmap); -MateBGCrossfade *mate_bg_set_pixmap_as_root_with_crossfade (GdkScreen *screen, - GdkPixmap *pixmap); -GdkPixmap *mate_bg_get_pixmap_from_root (GdkScreen *screen); -#endif /* GTK_CHECK_VERSION(3, 0, 0) */ - G_END_DECLS #endif |