[gnome-software] trivial: Actually apply the warning flags
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Actually apply the warning flags
- Date: Sat, 27 Aug 2016 07:36:08 +0000 (UTC)
commit 3dde4f0369f5b5f5836b233bd5bf37a39a4ee66d
Author: Richard Hughes <richard hughsie com>
Date: Sat Aug 27 08:36:00 2016 +0100
trivial: Actually apply the warning flags
configure.ac | 1 +
src/gs-common.h | 2 --
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index dc3e6fe..f4dd16b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,6 +67,7 @@ WARN_CFLAGS_EXTRA="
-Wunused-but-set-variable
-Wwrite-strings"
AX_APPEND_COMPILE_FLAGS([$WARN_CFLAGS_EXTRA], [WARN_CFLAGS])
+AC_SUBST(WARN_CFLAGS)
dnl ---------------------------------------------------------------------------
dnl - gettext stuff
diff --git a/src/gs-common.h b/src/gs-common.h
index 1d6aa7d..af2cc04 100644
--- a/src/gs-common.h
+++ b/src/gs-common.h
@@ -61,8 +61,6 @@ void gs_utils_widget_set_css_app (GsApp *app,
const gchar *metadata_css);
void gs_utils_widget_set_css_simple (GtkWidget *widget,
const gchar *css);
-gboolean gs_utils_strv_fnmatch (gchar **strv,
- const gchar *str);
const gchar *gs_utils_get_error_value (const GError *error);
void gs_utils_show_error_dialog (GtkWindow *parent,
const gchar *title,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]