grim/guifications2

Parents fb28afae81c6
Children e39354594f57
Turn of deprecations when including gtk.h because it's throwing LOTS of deprecation warnings
--- a/src/gf_action.c Mon Apr 12 18:29:56 2021 -0500
+++ b/src/gf_action.c Mon Apr 12 18:43:15 2021 -0500
@@ -16,7 +16,12 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.
*/
+
+#include <glib.h>
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <gtk/gtk.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
#ifdef HAVE_CONFIG_H
# include "../gf_config.h"
--- a/src/gf_blist.c Mon Apr 12 18:29:56 2021 -0500
+++ b/src/gf_blist.c Mon Apr 12 18:43:15 2021 -0500
@@ -17,7 +17,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.
*/
#include <glib.h>
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <gtk/gtk.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
+
#include <string.h>
#ifdef HAVE_CONFIG_H
--- a/src/gf_display.c Mon Apr 12 18:29:56 2021 -0500
+++ b/src/gf_display.c Mon Apr 12 18:43:15 2021 -0500
@@ -23,7 +23,11 @@
#include "gf_internal.h"
#include <glib.h>
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <gtk/gtk.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
+
#include <gdk/gdk.h>
#include <math.h>
#include <string.h>
--- a/src/gf_gtk_utils.h Mon Apr 12 18:29:56 2021 -0500
+++ b/src/gf_gtk_utils.h Mon Apr 12 18:43:15 2021 -0500
@@ -19,8 +19,14 @@
#ifndef GF_GTK_UTILS_H
#define GF_GTK_UTILS_H
+#include <glib.h>
+
#include <gdk/gdk.h>
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <gtk/gtk.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
+
#include <pango/pango.h>
G_BEGIN_DECLS
--- a/src/gf_item_icon.c Mon Apr 12 18:29:56 2021 -0500
+++ b/src/gf_item_icon.c Mon Apr 12 18:43:15 2021 -0500
@@ -17,7 +17,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.
*/
#include <glib.h>
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <gtk/gtk.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
+
#include <gdk/gdk.h>
#ifdef HAVE_CONFIG_H
--- a/src/gf_item_text.c Mon Apr 12 18:29:56 2021 -0500
+++ b/src/gf_item_text.c Mon Apr 12 18:43:15 2021 -0500
@@ -24,7 +24,11 @@
#include <stdlib.h>
#include <glib.h>
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <gtk/gtk.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
+
#include <gdk/gdk.h>
#include <pango/pango.h>
#include <string.h>
--- a/src/gf_menu.c Mon Apr 12 18:29:56 2021 -0500
+++ b/src/gf_menu.c Mon Apr 12 18:43:15 2021 -0500
@@ -16,7 +16,12 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.
*/
+
+#include <glib.h>
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <gtk/gtk.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
#ifdef HAVE_CONFIG_H
# include "../gf_config.h"
--- a/src/gf_preferences.c Mon Apr 12 18:29:56 2021 -0500
+++ b/src/gf_preferences.c Mon Apr 12 18:43:15 2021 -0500
@@ -17,7 +17,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.
*/
#include <glib.h>
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <gtk/gtk.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
+
#include <gdk/gdk.h>
#include <sys/stat.h>
#include <sys/types.h>
--- a/src/gf_stock.c Mon Apr 12 18:29:56 2021 -0500
+++ b/src/gf_stock.c Mon Apr 12 18:43:15 2021 -0500
@@ -16,7 +16,12 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.
*/
+
+#include <glib.h>
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <gtk/gtk.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
#include <debug.h>
--- a/src/gf_theme.h Mon Apr 12 18:29:56 2021 -0500
+++ b/src/gf_theme.h Mon Apr 12 18:43:15 2021 -0500
@@ -25,7 +25,11 @@
typedef struct _GfTheme GfTheme;
#include <glib.h>
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <gtk/gtk.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
+
#include <gdk/gdk.h>
#include "account.h"
--- a/src/gf_theme_editor.c Mon Apr 12 18:29:56 2021 -0500
+++ b/src/gf_theme_editor.c Mon Apr 12 18:43:15 2021 -0500
@@ -21,7 +21,11 @@
#endif
#include <glib.h>
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <gtk/gtk.h>
+G_GNUC_END_IGNORE_DEPRECATIONS
+
#include <sys/stat.h>
#include <sys/types.h>
#include <string.h>