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.
This commit is contained in:
Benjamin Otte 2010-07-22 02:30:08 +02:00
parent f7608c33ac
commit 90ac7b915c
3 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,