X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=src%2Fcompat.c;h=db67a9874e75b3ea35b49f4697a8814b27ad7a0d;hp=7458d2df462b377fd6b8734f343c7b8a97256b95;hb=e436ea53511e1dadab981af18b237fee83fde39b;hpb=2dfa5f58107ba16e171e2e65524859a42b057742 diff --git a/src/compat.c b/src/compat.c index 7458d2df..db67a987 100644 --- a/src/compat.c +++ b/src/compat.c @@ -32,7 +32,7 @@ gint compat_gdk_window_get_height(GdkWindow *window) cairo_surface_t *compat_gdk_window_create_similar_surface (GdkWindow *window, cairo_content_t content, gint width, gint height) { cairo_t *cr = gdk_cairo_create(window); - cairo_surface_t *ws = cairo_get_target(cr); + cairo_surface_t *ws = cairo_get_target(cr); cairo_surface_t *ret = cairo_surface_create_similar(ws, content, width, height); cairo_destroy(cr); return ret;