[gtk+] Fix a warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix a warning
- Date: Wed, 16 Oct 2013 00:11:35 +0000 (UTC)
commit d1e218f4ab7e68a2d85697ff830b27ff0c303b46
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Wed Oct 9 03:15:14 2013 +0300
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c
index 93c755a..32b41ae 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]