[libgd] build: Fix const warning



commit da2ed3a04f4fb78b638c7c76c505cd23d13a58ce
Author: Christian Persch <chpe gnome org>
Date:   Wed Feb 13 13:02:44 2013 +0100

    build: Fix const warning

 libgd/gd-main-icon-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgd/gd-main-icon-view.c b/libgd/gd-main-icon-view.c
index 43a0007..2789c27 100644
--- a/libgd/gd-main-icon-view.c
+++ b/libgd/gd-main-icon-view.c
@@ -81,7 +81,7 @@ gd_main_icon_view_constructed (GObject *obj)
   GdMainIconView *self = GD_MAIN_ICON_VIEW (obj);
   GtkCellRenderer *cell;
   const GtkTargetEntry targets[] = {
-    { "text/uri-list", GTK_TARGET_OTHER_APP, 0 }
+    { (char *) "text/uri-list", GTK_TARGET_OTHER_APP, 0 }
   };
 
   G_OBJECT_CLASS (gd_main_icon_view_parent_class)->constructed (obj);


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