summaryrefslogtreecommitdiff
path: root/gtk/gtktextdisplay.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-07-22 02:30:08 +0200
committerBenjamin Otte <otte@redhat.com>2010-08-10 21:02:29 +0200
commit90ac7b915c745c661f8baf474aa30640709ba366 (patch)
treebc8f6b6cf09d3036823deacc549570f73d10b0fd /gtk/gtktextdisplay.c
parentf7608c33aca855e33d8087622f2780e4a23e5928 (diff)
downloadgtk+-90ac7b915c745c661f8baf474aa30640709ba366.tar.gz
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.
Diffstat (limited to 'gtk/gtktextdisplay.c')
-rw-r--r--gtk/gtktextdisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c
index ac41da9c02..1d3487331a 100644
--- a/gtk/gtktextdisplay.c
+++ b/gtk/gtktextdisplay.c
@@ -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,