summaryrefslogtreecommitdiff
path: root/gtk/gtktextutil.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/gtktextutil.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/gtktextutil.c')
-rw-r--r--gtk/gtktextutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c
index 32898fa16e..d33512056b 100644
--- a/gtk/gtktextutil.c
+++ b/gtk/gtktextutil.c
@@ -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,