summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-canvas-item.h
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-11-08 00:05:37 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:52 +0200
commit2a4433a562b4a9fde5f81961c67fbee8810d63f0 (patch)
tree1ef7b55c2d3b141fb08f4ab40e0a913dbea6b84e /libcaja-private/caja-icon-canvas-item.h
parent40d77d2c4a371a546a35cbc8aa24bf9261e30fc0 (diff)
downloadcaja-2a4433a562b4a9fde5f81961c67fbee8810d63f0.tar.bz2
caja-2a4433a562b4a9fde5f81961c67fbee8810d63f0.tar.xz
[libcaja-private] Port to rendering-cleanup-next
http://git.gnome.org/browse/nautilus/commit/?id=910191ea13e5647e1b8c793e7585530c6ae4c9b1
Diffstat (limited to 'libcaja-private/caja-icon-canvas-item.h')
-rw-r--r--libcaja-private/caja-icon-canvas-item.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libcaja-private/caja-icon-canvas-item.h b/libcaja-private/caja-icon-canvas-item.h
index 27d01867..14b93b63 100644
--- a/libcaja-private/caja-icon-canvas-item.h
+++ b/libcaja-private/caja-icon-canvas-item.h
@@ -74,9 +74,13 @@ extern "C" {
/* attributes */
void caja_icon_canvas_item_set_image (CajaIconCanvasItem *item,
GdkPixbuf *image);
+#if GTK_CHECK_VERSION(3,0,0)
+ cairo_surface_t* caja_icon_canvas_item_get_drag_surface (CajaIconCanvasItem *item);
+#else
GdkPixmap * caja_icon_canvas_item_get_image (CajaIconCanvasItem *item,
- GdkBitmap **mask,
- GdkColormap *colormap);
+ GdkBitmap **mask,
+ GdkColormap *colormap);
+#endif
void caja_icon_canvas_item_set_emblems (CajaIconCanvasItem *item,
GList *emblem_pixbufs);
void caja_icon_canvas_item_set_show_stretch_handles (CajaIconCanvasItem *item,