[gtkmm] Gtk::Application: Fix the build with the latest gtk+

commit f01f0e30c91d3ff64ec3bca24f5ce6f6355451f0
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Tue Apr 15 14:45:57 2014 +0200

    Gtk::Application: Fix the build with the latest gtk+
    * gtk/src/application.hg: Define GDK_DISABLE_DEPRECATION_WARNINGS,
    because gtk_application_add/remove_accelerator() are deprecated.

 gtk/src/application.hg |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/gtk/src/application.hg b/gtk/src/application.hg
index 376bc6b..0049c21 100644
--- a/gtk/src/application.hg
+++ b/gtk/src/application.hg
@@ -32,6 +32,9 @@ _PINCLUDE(giomm/private/application_p.h)
 // Needed before gtkmm/private/application_p.h is included.
 typedef struct _GtkWindow GtkWindow;
+//So we can use deprecated GTK+ API in our deprecated C++ API:
 #m4 _POP()
 namespace Gtk

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]