summaryrefslogtreecommitdiff
path: root/gtk/gtktextutil.c
diff options
context:
space:
mode:
authorYosef Or Boczko <yoseforb@gmail.com>2013-10-09 03:15:14 +0300
committerMatthias Clasen <mclasen@redhat.com>2013-10-15 20:11:30 -0400
commitd1e218f4ab7e68a2d85697ff830b27ff0c303b46 (patch)
tree39688fa8886fedb317ce781b9e40fd2ba389ae60 /gtk/gtktextutil.c
parent6b7981d2f5fd8e6578a5793d1a088a87f16370ad (diff)
downloadgtk+-d1e218f4ab7e68a2d85697ff830b27ff0c303b46.tar.gz
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
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 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);