compiz/compiz_disable_gdk_disable_deprecated.patch

19 lines
450 B
Diff

Stop breaking on deprecated GTK_WIDGET_VISIBLE.
--- a/gtk/window-decorator/gtk-window-decorator.c
+++ b/gtk/window-decorator/gtk-window-decorator.c
@@ -31,14 +31,6 @@
#include <X11/extensions/Xrender.h>
#include <X11/Xregion.h>
-#ifndef GDK_DISABLE_DEPRECATED
-#define GDK_DISABLE_DEPRECATED
-#endif
-
-#ifndef GTK_DISABLE_DEPRECATED
-#define GTK_DISABLE_DEPRECATED
-#endif
-
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#include <glib/gi18n.h>