Commit 90ac7b91 authored by Benjamin Otte's avatar Benjamin Otte

textview: Replace GdkGC * argument with gpointer

The argument is unused.
That's also the reason why we can pass NULL instead of the real GC in
the caller.
parent f7608c33
......@@ -801,7 +801,7 @@ void
gtk_text_layout_draw (GtkTextLayout *layout,
GtkWidget *widget,
GdkDrawable *drawable,
GdkGC *cursor_gc,
gpointer cursor_gc,
/* Location of the drawable
in layout coordinates */
gint x_offset,
......
......@@ -97,7 +97,7 @@ G_BEGIN_DECLS
void gtk_text_layout_draw (GtkTextLayout *layout,
GtkWidget *widget,
GdkDrawable *drawable,
GdkGC *cursor_gc,
gpointer cursor_gc,
gint x_offset,
gint y_offset,
gint x,
......
......@@ -357,7 +357,7 @@ _gtk_text_util_create_rich_drag_icon (GtkWidget *widget,
cairo_paint (cr);
gtk_text_layout_draw (layout, widget, drawable,
widget->style->text_gc [gtk_widget_get_state (widget)],
NULL,
- (1 + DRAG_ICON_LAYOUT_BORDER),
- (1 + DRAG_ICON_LAYOUT_BORDER),
0, 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment