[gnome-software/gnome-3-22] trivial: Don't redefine I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE



commit a2ed855a43e25d5f2aa065ad13cc8fb264084c64
Author: Richard Hughes <richard hughsie com>
Date:   Fri Dec 2 17:14:59 2016 +0000

    trivial: Don't redefine I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE

 src/plugins/Makefile.am                    |    1 +
 src/plugins/gs-plugin-packagekit-history.c |    1 -
 src/plugins/gs-plugin-packagekit-local.c   |    1 -
 src/plugins/gs-plugin-packagekit-offline.c |    1 -
 src/plugins/gs-plugin-packagekit-origin.c  |    1 -
 src/plugins/gs-plugin-packagekit-proxy.c   |    1 -
 src/plugins/gs-plugin-packagekit-refine.c  |    1 -
 src/plugins/gs-plugin-packagekit-refresh.c |    1 -
 src/plugins/gs-plugin-packagekit-upgrade.c |    1 -
 src/plugins/gs-plugin-packagekit.c         |    1 -
 src/plugins/gs-plugin-systemd-updates.c    |    1 -
 src/plugins/packagekit-common.c            |    1 -
 src/plugins/packagekit-common.h            |    1 -
 13 files changed, 1 insertions(+), 12 deletions(-)
---
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index dc17c2d..caa63b9 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -19,6 +19,7 @@ AM_CPPFLAGS =                                         \
        $(OAUTH_CFLAGS)                                 \
        $(SNAP_CFLAGS)                                  \
        -DI_KNOW_THE_GNOME_SOFTWARE_API_IS_SUBJECT_TO_CHANGE    \
+       -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE  \
        -DBINDIR=\"$(bindir)\"                          \
        -DDATADIR=\"$(datadir)\"                        \
        -DG_LOG_DOMAIN=\"GsPlugin\"                     \
diff --git a/src/plugins/gs-plugin-packagekit-history.c b/src/plugins/gs-plugin-packagekit-history.c
index 2b85a63..dfcd415 100644
--- a/src/plugins/gs-plugin-packagekit-history.c
+++ b/src/plugins/gs-plugin-packagekit-history.c
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 
 #include <gnome-software.h>
diff --git a/src/plugins/gs-plugin-packagekit-local.c b/src/plugins/gs-plugin-packagekit-local.c
index e613dbe..7d76c70 100644
--- a/src/plugins/gs-plugin-packagekit-local.c
+++ b/src/plugins/gs-plugin-packagekit-local.c
@@ -23,7 +23,6 @@
 
 #include <string.h>
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 #include <gnome-software.h>
 
diff --git a/src/plugins/gs-plugin-packagekit-offline.c b/src/plugins/gs-plugin-packagekit-offline.c
index 105e0b7..ce7a3e4 100644
--- a/src/plugins/gs-plugin-packagekit-offline.c
+++ b/src/plugins/gs-plugin-packagekit-offline.c
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 
 #include <gnome-software.h>
diff --git a/src/plugins/gs-plugin-packagekit-origin.c b/src/plugins/gs-plugin-packagekit-origin.c
index 45bd7c4..4d81963 100644
--- a/src/plugins/gs-plugin-packagekit-origin.c
+++ b/src/plugins/gs-plugin-packagekit-origin.c
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 #include <gnome-software.h>
 
diff --git a/src/plugins/gs-plugin-packagekit-proxy.c b/src/plugins/gs-plugin-packagekit-proxy.c
index b751248..8db15b3 100644
--- a/src/plugins/gs-plugin-packagekit-proxy.c
+++ b/src/plugins/gs-plugin-packagekit-proxy.c
@@ -22,7 +22,6 @@
 
 #include <config.h>
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 #include <string.h>
 #include <gsettings-desktop-schemas/gdesktop-enums.h>
diff --git a/src/plugins/gs-plugin-packagekit-refine.c b/src/plugins/gs-plugin-packagekit-refine.c
index c2e3c5a..341a154 100644
--- a/src/plugins/gs-plugin-packagekit-refine.c
+++ b/src/plugins/gs-plugin-packagekit-refine.c
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 #include <gnome-software.h>
 
diff --git a/src/plugins/gs-plugin-packagekit-refresh.c b/src/plugins/gs-plugin-packagekit-refresh.c
index 0192c54..68b81c5 100644
--- a/src/plugins/gs-plugin-packagekit-refresh.c
+++ b/src/plugins/gs-plugin-packagekit-refresh.c
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 #include <gnome-software.h>
 
diff --git a/src/plugins/gs-plugin-packagekit-upgrade.c b/src/plugins/gs-plugin-packagekit-upgrade.c
index 7d418ba..6791efc 100644
--- a/src/plugins/gs-plugin-packagekit-upgrade.c
+++ b/src/plugins/gs-plugin-packagekit-upgrade.c
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 
 #include <gnome-software.h>
diff --git a/src/plugins/gs-plugin-packagekit.c b/src/plugins/gs-plugin-packagekit.c
index b47e68f..d0aecbc 100644
--- a/src/plugins/gs-plugin-packagekit.c
+++ b/src/plugins/gs-plugin-packagekit.c
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 
 #include <gnome-software.h>
diff --git a/src/plugins/gs-plugin-systemd-updates.c b/src/plugins/gs-plugin-systemd-updates.c
index 13de531..8764e0c 100644
--- a/src/plugins/gs-plugin-systemd-updates.c
+++ b/src/plugins/gs-plugin-systemd-updates.c
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 
 #include <gnome-software.h>
diff --git a/src/plugins/packagekit-common.c b/src/plugins/packagekit-common.c
index 552698a..83ca181 100644
--- a/src/plugins/packagekit-common.c
+++ b/src/plugins/packagekit-common.c
@@ -21,7 +21,6 @@
 
 #include "config.h"
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 
 #include <gnome-software.h>
diff --git a/src/plugins/packagekit-common.h b/src/plugins/packagekit-common.h
index 4293545..0b5aa14 100644
--- a/src/plugins/packagekit-common.h
+++ b/src/plugins/packagekit-common.h
@@ -25,7 +25,6 @@
 #include <glib.h>
 #include <gnome-software.h>
 
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 #include <packagekit-glib2/packagekit.h>
 
 G_BEGIN_DECLS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]