[bijiben] src: Fixed const qualifier discard message
- From: Jonathan Kang <jonathankang src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] src: Fixed const qualifier discard message
- Date: Mon, 22 May 2017 08:56:51 +0000 (UTC)
commit 0d2a4292283d183e7841bae31cf9e1da5ff2061f
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Tue May 9 15:18:24 2017 +0200
src: Fixed const qualifier discard message
The string field on target_list GtkTargetEntry does not have the
const qualifier. A cast has been added to the string literal.
https://bugzilla.gnome.org/show_bug.cgi?id=771225
src/bjb-main-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/bjb-main-view.c b/src/bjb-main-view.c
index 65049a0..d230c2f 100644
--- a/src/bjb-main-view.c
+++ b/src/bjb-main-view.c
@@ -376,8 +376,8 @@ on_item_activated (GdMainView * gd,
return FALSE ;
}
-static const GtkTargetEntry target_list[] = {
- { "text/plain", 0, 2}
+static GtkTargetEntry target_list[] = {
+ { (gchar *) "text/plain", 0, 2}
};
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]