[gnome-shell] st: Fix constness in assignment



commit 36bbe648983c0b071b68a6ea6e72c19796cd5a2d
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Sep 23 20:09:44 2015 +0200

    st: Fix constness in assignment

 src/st/st-widget.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/st/st-widget.c b/src/st/st-widget.c
index ebdc339..c0968c8 100644
--- a/src/st/st-widget.c
+++ b/src/st/st-widget.c
@@ -623,9 +623,9 @@ st_widget_get_theme_node (StWidget *widget)
        * requiring separate style sheets.
        */
       if (clutter_actor_get_text_direction (CLUTTER_ACTOR (widget)) == CLUTTER_TEXT_DIRECTION_RTL)
-        direction_pseudo_class = "rtl";
+        direction_pseudo_class = (char *)"rtl";
       else
-        direction_pseudo_class = "ltr";
+        direction_pseudo_class = (char *)"ltr";
 
       if (priv->pseudo_class)
         pseudo_class = g_strconcat(priv->pseudo_class, " ",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]