From fedbee566107f89acab946d5ebd4ef3f5f6d7bdb Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 9 Aug 2004 10:35:24 +0000 Subject: Only use this for gtk < 2.5.1, and just add a few #defines otherwise. 2004-08-09 Christian Persch * lib/widgets/ephy-label.c: * lib/widgets/ephy-label.h: Only use this for gtk < 2.5.1, and just add a few #defines otherwise. --- lib/widgets/ephy-label.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/widgets/ephy-label.c') diff --git a/lib/widgets/ephy-label.c b/lib/widgets/ephy-label.c index 97c3e1878..70f6b03fb 100644 --- a/lib/widgets/ephy-label.c +++ b/lib/widgets/ephy-label.c @@ -23,13 +23,18 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ +#include + +#if !GTK_CHECK_VERSION (2, 5, 1) + #ifdef HAVE_CONFIG_H #include #endif +#include "ephy-label.h" + #include #include -#include "ephy-label.h" #include #include #include @@ -3446,3 +3451,5 @@ ephy_label_do_popup (EphyLabel *label, popup_position_func, label, 0, gtk_get_current_event_time ()); } + +#endif /* !GTK_CHECK_VERSION (2, 5, 1) */ -- cgit v1.2.3