summaryrefslogtreecommitdiff
path: root/gtk/gtktextutil.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-04-10 16:14:59 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-10 16:21:07 +0200
commit3610ef90c3b4e555dcb6e767d4f2a79649a359f5 (patch)
tree497af838cac549a0a4be643c8ae376a9cdcdb85d /gtk/gtktextutil.c
parent8b5910f8d7802c1653e5b596928014da34a04e9d (diff)
downloadgtk+-3610ef90c3b4e555dcb6e767d4f2a79649a359f5.tar.gz
Revert part of "textview: Remove extra magic for drawing children"
This partially reverts commit df37446f9b4116887865b7ecfddeb535fbc0eacb. The commit changed API that was public (or at least semi-public) and it's not worth changing that. The original bug should still be fixed. https://bugzilla.gnome.org/show_bug.cgi?id=673839
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 f5eae4c6ec..d5a60c492b 100644
--- a/gtk/gtktextutil.c
+++ b/gtk/gtktextutil.c
@@ -398,7 +398,7 @@ _gtk_text_util_create_rich_drag_icon (GtkWidget *widget,
cairo_save (cr);
cairo_translate (cr, 1 + DRAG_ICON_LAYOUT_BORDER, 1 + DRAG_ICON_LAYOUT_BORDER);
- gtk_text_layout_draw (layout, widget, cr);
+ gtk_text_layout_draw (layout, widget, cr, NULL);
cairo_restore (cr);