From 59f76658d3ab2bfd3e645617c7d2b7676ae63e18 Mon Sep 17 00:00:00 2001 From: Paul Cornett <paulcor@bullseye.com> Date: Sat, 3 Aug 2013 04:39:45 +0000 Subject: [PATCH] remove obsolete check for GTK 2.6 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/private/gtk2-compat.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/wx/gtk/private/gtk2-compat.h b/include/wx/gtk/private/gtk2-compat.h index 05bd5b7726..20e9358d90 100644 --- a/include/wx/gtk/private/gtk2-compat.h +++ b/include/wx/gtk/private/gtk2-compat.h @@ -54,16 +54,13 @@ static inline gpointer wx_g_object_ref_sink(gpointer object) #define g_object_ref_sink wx_g_object_ref_sink // ---------------------------------------------------------------------------- -// the following were introduced in GTK+ 2.12 and GtkAboutDialog itself is not -// in 2.4 so skip this if we don't have it. -#if GTK_CHECK_VERSION(2,6,0) +// the following were introduced in GTK+ 2.12 static inline void wx_gtk_about_dialog_set_program_name(GtkAboutDialog* about, const gchar* name) { gtk_about_dialog_set_name(about, name); } #define gtk_about_dialog_set_program_name wx_gtk_about_dialog_set_program_name -#endif // 2.6.0 // ---------------------------------------------------------------------------- // the following were introduced in GTK+ 2.14 -- 2.47.2