[pan2: 22/23] Forgot it should be DISABLE_DEPRICATED or GTK3.
- From: Petr Kovář <pmkovar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2: 22/23] Forgot it should be DISABLE_DEPRICATED or GTK3.
- Date: Sun, 29 May 2011 13:05:24 +0000 (UTC)
commit 95ed83618e212945f8a800d831a113ba8c713dee
Author: K. Haley <haleykd users sf net>
Date: Fri May 27 20:43:59 2011 -0600
Forgot it should be DISABLE_DEPRICATED or GTK3.
pan/gui/gtk_compat.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pan/gui/gtk_compat.h b/pan/gui/gtk_compat.h
index 3867e9b..1628cae 100644
--- a/pan/gui/gtk_compat.h
+++ b/pan/gui/gtk_compat.h
@@ -48,7 +48,7 @@ namespace
}
#endif
-#ifdef GTK_DISABLE_DEPRECATED
+#if defined(GTK_DISABLE_DEPRECATED) || GTK_CHECK_VERSION(3,0,0)
#if GTK_CHECK_VERSION(2,22,0)
#define GtkNotebookPage void
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]