forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
6b7981d2f5
commit
d1e218f4ab
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user