diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-01-05 19:56:52 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-13 15:05:41 +0100 |
commit | 11fe5df21deec3181bbb72a577a26f7d2bb4d8b0 (patch) | |
tree | 9dea246ecb9172556a1e01530340f2bcb3200aef /libcaja-private/caja-icon-dnd.c | |
parent | dca1155b3473e91ef12b03dca1506b86ccbaba07 (diff) | |
download | caja-11fe5df21deec3181bbb72a577a26f7d2bb4d8b0.tar.bz2 caja-11fe5df21deec3181bbb72a577a26f7d2bb4d8b0.tar.xz |
GTK3 icon-container: port to GtkStyleContext
taken from:
https://git.gnome.org/browse/nautilus/commit/?id=4f23a0a
Diffstat (limited to 'libcaja-private/caja-icon-dnd.c')
-rw-r--r-- | libcaja-private/caja-icon-dnd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libcaja-private/caja-icon-dnd.c b/libcaja-private/caja-icon-dnd.c index 38820aa9..0a1cac87 100644 --- a/libcaja-private/caja-icon-dnd.c +++ b/libcaja-private/caja-icon-dnd.c @@ -1628,10 +1628,8 @@ drag_highlight_expose (GtkWidget *widget, height = gdk_window_get_height (window); #if GTK_CHECK_VERSION (3, 0, 0) - gtk_paint_shadow (gtk_widget_get_style (widget), + gtk_render_frame (gtk_widget_get_style_context (widget), cr, - GTK_STATE_NORMAL, GTK_SHADOW_OUT, - widget, "dnd", 0, 0, width, height); #else gtk_paint_shadow (gtk_widget_get_style (widget), window, |