[gtk+/gtk-3-8] Fix a warning



commit 16be72eb133727d62e0c5d67bfce10e293e17bc7
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 a2811f2..e40c7d7 100644
--- a/gtk/gtktextutil.c
+++ b/gtk/gtktextutil.c
@@ -363,7 +363,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]