[nautilus: 9/18] tree-view-drag-dest: port to GtkStyleContext
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus: 9/18] tree-view-drag-dest: port to GtkStyleContext
- Date: Mon, 6 Dec 2010 14:57:44 +0000 (UTC)
commit f8bdf9c68ae156506d04f198e054e9488845c173
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Dec 6 15:40:32 2010 +0100
tree-view-drag-dest: port to GtkStyleContext
libnautilus-private/nautilus-tree-view-drag-dest.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/libnautilus-private/nautilus-tree-view-drag-dest.c b/libnautilus-private/nautilus-tree-view-drag-dest.c
index 3b349fa..b91e524 100644
--- a/libnautilus-private/nautilus-tree-view-drag-dest.c
+++ b/libnautilus-private/nautilus-tree-view-drag-dest.c
@@ -191,12 +191,9 @@ highlight_draw (GtkWidget *widget,
width = gdk_window_get_width (bin_window);
height = gdk_window_get_height (bin_window);
- gtk_paint_focus (gtk_widget_get_style (widget),
- cr,
- gtk_widget_get_state (widget),
- widget,
- "treeview-drop-indicator",
- 0, 0, width, height);
+ gtk_render_focus (gtk_widget_get_style_context (widget),
+ cr,
+ 0, 0, width, height);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]