[devhelp/wip/swilmet/fix-warnings] Window: fix compilation warning
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp/wip/swilmet/fix-warnings] Window: fix compilation warning
- Date: Sun, 27 Nov 2016 12:01:41 +0000 (UTC)
commit d94cf56256eaeab1f5c080be313c4e1255100670
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Nov 27 12:59:26 2016 +0100
Window: fix compilation warning
"initialization discards ‘const’ qualifier from pointer target type"
Because the zoom_levels array contains N_() strings.
src/dh-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index 5d10030..af3c993 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -68,7 +68,7 @@ static guint tab_accel_keys[] = {
static const
struct
{
- gchar *name;
+ const gchar *name;
double level;
}
zoom_levels[] =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]