[gnome-control-center] Stop using HANDY_USE_UNSTABLE_API
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Stop using HANDY_USE_UNSTABLE_API
- Date: Tue, 18 Aug 2020 02:57:26 +0000 (UTC)
commit fd60c313dfe5397992b7830ce0c0cbf1ed577395
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Aug 7 08:13:53 2020 +0200
Stop using HANDY_USE_UNSTABLE_API
It isn't needed anymore since libhandy 0.90.0.
panels/display/cc-display-panel.c | 2 --
panels/display/cc-display-settings.c | 1 -
panels/network/net-device-ethernet.c | 1 -
panels/region/cc-format-chooser.c | 4 +---
shell/cc-application.c | 1 -
shell/cc-window.c | 1 -
tests/network/test-network-panel.c | 1 -
7 files changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index c5c474f1f..b30ff3652 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -25,8 +25,6 @@
#include <stdlib.h>
#include <gdesktop-enums.h>
#include <math.h>
-
-#define HANDY_USE_UNSTABLE_API 1
#include <handy.h>
#include "shell/cc-object-storage.h"
diff --git a/panels/display/cc-display-settings.c b/panels/display/cc-display-settings.c
index d793fccaa..49ddcf0f7 100644
--- a/panels/display/cc-display-settings.c
+++ b/panels/display/cc-display-settings.c
@@ -19,7 +19,6 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#define HANDY_USE_UNSTABLE_API 1
#include <handy.h>
#include <glib/gi18n.h>
#include <math.h>
diff --git a/panels/network/net-device-ethernet.c b/panels/network/net-device-ethernet.c
index 60de88538..1925c4703 100644
--- a/panels/network/net-device-ethernet.c
+++ b/panels/network/net-device-ethernet.c
@@ -23,7 +23,6 @@
#include <glib-object.h>
#include <glib/gi18n.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#include <NetworkManager.h>
diff --git a/panels/region/cc-format-chooser.c b/panels/region/cc-format-chooser.c
index f83296154..d88508c4e 100644
--- a/panels/region/cc-format-chooser.c
+++ b/panels/region/cc-format-chooser.c
@@ -27,6 +27,7 @@
#include <langinfo.h>
#include <string.h>
#include <glib/gi18n.h>
+#include <handy.h>
#include "list-box-helper.h"
#include "cc-common-language.h"
@@ -35,9 +36,6 @@
#define GNOME_DESKTOP_USE_UNSTABLE_API
#include <libgnome-desktop/gnome-languages.h>
-#define HANDY_USE_UNSTABLE_API
-#include <handy.h>
-
struct _CcFormatChooser {
GtkDialog parent_instance;
diff --git a/shell/cc-application.c b/shell/cc-application.c
index 3f066f6ad..4a90157e2 100644
--- a/shell/cc-application.c
+++ b/shell/cc-application.c
@@ -24,7 +24,6 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gio/gio.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#include "cc-application.h"
diff --git a/shell/cc-window.c b/shell/cc-window.c
index b7bb37151..400c39116 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -33,7 +33,6 @@
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <gdk/gdkx.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#include <string.h>
#include <time.h>
diff --git a/tests/network/test-network-panel.c b/tests/network/test-network-panel.c
index 54e52f0a3..4f33e41ab 100644
--- a/tests/network/test-network-panel.c
+++ b/tests/network/test-network-panel.c
@@ -33,7 +33,6 @@
#include <sys/types.h>
#include <signal.h>
#include <gtk/gtk.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#include "cc-test-window.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]