[gnome-applets/wip/muktupavels/werror] trash: fix -Wdiscarded-qualifiers warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets/wip/muktupavels/werror] trash: fix -Wdiscarded-qualifiers warning
- Date: Sat, 4 Apr 2020 20:55:27 +0000 (UTC)
commit 4550d430a00c54632d2dc734eb2f9ab515a8fae6
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Apr 4 22:47:23 2020 +0300
trash: fix -Wdiscarded-qualifiers warning
gnome-applets/trash/trash-applet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-applets/trash/trash-applet.c b/gnome-applets/trash/trash-applet.c
index 6a833fe6b..22fa4f4cc 100644
--- a/gnome-applets/trash/trash-applet.c
+++ b/gnome-applets/trash/trash-applet.c
@@ -514,7 +514,7 @@ trash_applet_class_init (TrashAppletClass *self_class)
static void
trash_applet_init (TrashApplet *self)
{
- const GtkTargetEntry drop_types[] = { { "text/uri-list" } };
+ const GtkTargetEntry drop_types[] = { { (char *) "text/uri-list" } };
const gchar *resource_name;
/* needed to clamp ourselves to the panel size */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]