nemo: fix gcc6 build

This commit is contained in:
Juergen Buchmueller 2016-09-13 05:39:03 +02:00
parent 85fce8ea5d
commit 3c69381a18
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,19 @@
The code using url_drag_types[] is #if 0 enclosed, so do
the same for the array to avoid gcc6 error -Wunused-const-variable=
--- src/nemo-notebook.c 2016-03-07 18:19:50.000000000 +0100
+++ src/nemo-notebook.c 2016-09-13 01:00:15.102303362 +0200
@@ -51,11 +51,13 @@
static void nemo_notebook_remove (GtkContainer *container,
GtkWidget *tab_widget);
+#if 0
static const GtkTargetEntry url_drag_types[] =
{
{ NEMO_ICON_DND_GNOME_ICON_LIST_TYPE, 0, NEMO_ICON_DND_GNOME_ICON_LIST },
{ NEMO_ICON_DND_URI_LIST_TYPE, 0, NEMO_ICON_DND_URI_LIST },
};
+#endif
enum
{

View file

@ -1,7 +1,7 @@
# Template file for 'nemo'
pkgname=nemo
version=2.8.7
revision=1
revision=2
short_desc="The Cinnamon file manager (nautilus fork)"
build_style=gnu-configure
configure_args=" --disable-static --disable-update-mimedb