From d1e218f4ab7e68a2d85697ff830b27ff0c303b46 Mon Sep 17 00:00:00 2001 From: Yosef Or Boczko Date: Wed, 9 Oct 2013 03:15:14 +0300 Subject: [PATCH] Fix a warning The PangoWrapMode enum has identical layout to GtkWrapMode, but using the two interchangably causes (justified) compiler warnings. https://bugzilla.gnome.org/show_bug.cgi?id=709697 --- gtk/gtktextutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c index 93c755acee..32b41ae37b 100644 --- a/gtk/gtktextutil.c +++ b/gtk/gtktextutil.c @@ -342,7 +342,7 @@ _gtk_text_util_create_rich_drag_icon (GtkWidget *widget, } style->direction = gtk_widget_get_direction (widget); - style->wrap_mode = PANGO_WRAP_WORD_CHAR; + style->wrap_mode = GTK_WRAP_WORD_CHAR; gtk_text_layout_set_default_style (layout, style); gtk_text_attributes_unref (style);