[epiphany] Stop using HANDY_USE_UNSTABLE_API
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Stop using HANDY_USE_UNSTABLE_API
- Date: Fri, 7 Aug 2020 20:23:30 +0000 (UTC)
commit e39cf3891010bc00a3d50e32d70260d743004fd5
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Aug 6 21:37:31 2020 +0200
Stop using HANDY_USE_UNSTABLE_API
It isn't needed anymore since libhandy 0.90.0.
embed/ephy-find-toolbar.h | 1 -
src/ephy-header-bar.c | 1 -
src/ephy-history-dialog.c | 1 -
src/ephy-main.c | 1 -
src/ephy-shell.c | 2 --
src/preferences/ephy-data-dialog.h | 1 -
src/preferences/ephy-data-view.h | 1 -
src/preferences/ephy-prefs-dialog.h | 1 -
src/preferences/passwords-view.c | 7 ++-----
src/preferences/prefs-appearance-page.h | 2 --
src/preferences/prefs-general-page.h | 2 --
src/preferences/prefs-privacy-page.h | 2 --
src/preferences/prefs-sync-page.h | 2 --
13 files changed, 2 insertions(+), 22 deletions(-)
---
diff --git a/embed/ephy-find-toolbar.h b/embed/ephy-find-toolbar.h
index c70e38cd4..b6aae1bc8 100644
--- a/embed/ephy-find-toolbar.h
+++ b/embed/ephy-find-toolbar.h
@@ -22,7 +22,6 @@
#pragma once
#include <gtk/gtk.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#include "ephy-web-view.h"
diff --git a/src/ephy-header-bar.c b/src/ephy-header-bar.c
index 04137c53e..c451351d1 100644
--- a/src/ephy-header-bar.c
+++ b/src/ephy-header-bar.c
@@ -37,7 +37,6 @@
#include "ephy-type-builtins.h"
#include <glib/gi18n.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
enum {
diff --git a/src/ephy-history-dialog.c b/src/ephy-history-dialog.c
index 2065ce4eb..58237fe37 100644
--- a/src/ephy-history-dialog.c
+++ b/src/ephy-history-dialog.c
@@ -38,7 +38,6 @@
#include <ctype.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#include <string.h>
#include <time.h>
diff --git a/src/ephy-main.c b/src/ephy-main.c
index ab8efbb43..1fdcd4791 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -36,7 +36,6 @@
#include <glib/gi18n.h>
#include <glib-unix.h>
#include <gtk/gtk.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#include <libxml/xmlreader.h>
#include <libxml/xmlversion.h>
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 5c9e71caa..d0c85d0bd 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -48,8 +48,6 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
struct _EphyShell {
diff --git a/src/preferences/ephy-data-dialog.h b/src/preferences/ephy-data-dialog.h
index e0d0a3bf2..aafb351d2 100644
--- a/src/preferences/ephy-data-dialog.h
+++ b/src/preferences/ephy-data-dialog.h
@@ -20,7 +20,6 @@
#pragma once
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
G_BEGIN_DECLS
diff --git a/src/preferences/ephy-data-view.h b/src/preferences/ephy-data-view.h
index 09287a852..907451960 100644
--- a/src/preferences/ephy-data-view.h
+++ b/src/preferences/ephy-data-view.h
@@ -20,7 +20,6 @@
#pragma once
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
G_BEGIN_DECLS
diff --git a/src/preferences/ephy-prefs-dialog.h b/src/preferences/ephy-prefs-dialog.h
index 064cdb5f7..d5252ef83 100644
--- a/src/preferences/ephy-prefs-dialog.h
+++ b/src/preferences/ephy-prefs-dialog.h
@@ -21,7 +21,6 @@
#pragma once
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
G_BEGIN_DECLS
diff --git a/src/preferences/passwords-view.c b/src/preferences/passwords-view.c
index 2dce7eba0..b4df843af 100644
--- a/src/preferences/passwords-view.c
+++ b/src/preferences/passwords-view.c
@@ -20,14 +20,11 @@
#include "config.h"
+#include <dazzle.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-#include <string.h>
-
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
-
-#include <dazzle.h>
+#include <string.h>
#define SECRET_API_SUBJECT_TO_CHANGE
#include <libsecret/secret.h>
diff --git a/src/preferences/prefs-appearance-page.h b/src/preferences/prefs-appearance-page.h
index ed41f1c7c..6489ba8cf 100644
--- a/src/preferences/prefs-appearance-page.h
+++ b/src/preferences/prefs-appearance-page.h
@@ -21,8 +21,6 @@
#pragma once
#include <glib-object.h>
-
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
G_BEGIN_DECLS
diff --git a/src/preferences/prefs-general-page.h b/src/preferences/prefs-general-page.h
index 509074145..c56fbf452 100644
--- a/src/preferences/prefs-general-page.h
+++ b/src/preferences/prefs-general-page.h
@@ -21,8 +21,6 @@
#pragma once
#include <glib-object.h>
-
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#include "ephy-prefs-dialog.h"
diff --git a/src/preferences/prefs-privacy-page.h b/src/preferences/prefs-privacy-page.h
index c03a5a479..2a07a2234 100644
--- a/src/preferences/prefs-privacy-page.h
+++ b/src/preferences/prefs-privacy-page.h
@@ -21,8 +21,6 @@
#pragma once
#include <glib-object.h>
-
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
G_BEGIN_DECLS
diff --git a/src/preferences/prefs-sync-page.h b/src/preferences/prefs-sync-page.h
index 1403332e7..530686e26 100644
--- a/src/preferences/prefs-sync-page.h
+++ b/src/preferences/prefs-sync-page.h
@@ -21,8 +21,6 @@
#pragma once
#include <glib-object.h>
-
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]