summaryrefslogtreecommitdiff
path: root/plugins/gtkui/ddbtabstrip.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2013-08-31 13:56:35 +0200
committerGravatar waker <wakeroid@gmail.com>2013-08-31 13:56:35 +0200
commit357c1068d8fdc7ff756cfa18d977bbf47092acc4 (patch)
treeaf141d263316fa5092f6f5905cb53994c1ff04e7 /plugins/gtkui/ddbtabstrip.c
parent8a9399de8f8aff06cc072a55e28bcecea0d4a10b (diff)
prepare osx branch for merging
Diffstat (limited to 'plugins/gtkui/ddbtabstrip.c')
-rw-r--r--plugins/gtkui/ddbtabstrip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gtkui/ddbtabstrip.c b/plugins/gtkui/ddbtabstrip.c
index c7727a2a..bc180dc2 100644
--- a/plugins/gtkui/ddbtabstrip.c
+++ b/plugins/gtkui/ddbtabstrip.c
@@ -438,9 +438,9 @@ ddb_tabstrip_draw_tab (GtkWidget *widget, cairo_t *cr, int idx, int selected, in
#endif
}
#if !GTK_CHECK_VERSION(3,0,0)
- gdk_draw_polygon (drawable, bg, TRUE, points_filled, sizeof (points_filled)/sizeof(coord_t));
- gdk_draw_lines (drawable, outer_frame, points_frame1, sizeof (points_frame1)/sizeof(coord_t));
- gdk_draw_lines (drawable, inner_frame, points_frame2, sizeof (points_frame2)/sizeof(coord_t));
+ gdk_draw_polygon (drawable, bg, TRUE, (GdkPoint*)points_filled, sizeof (points_filled)/sizeof(coord_t));
+ gdk_draw_lines (drawable, outer_frame, (GdkPoint*)points_frame1, sizeof (points_frame1)/sizeof(coord_t));
+ gdk_draw_lines (drawable, inner_frame, (GdkPoint*)points_frame2, sizeof (points_frame2)/sizeof(coord_t));
g_object_unref (bg);
g_object_unref (outer_frame);
g_object_unref (inner_frame);