nemo: fix gcc6 build
This commit is contained in:
parent
85fce8ea5d
commit
3c69381a18
|
@ -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
|
||||
{
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue