forked from AuroraMiddleware/gtk
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:
parent
f7608c33ac
commit
90ac7b915c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user