aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-label.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-09 18:35:24 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-09 18:35:24 +0800
commitfedbee566107f89acab946d5ebd4ef3f5f6d7bdb (patch)
tree22998102da72b72b9d6720dd54a7718fd71e1b1e /lib/widgets/ephy-label.c
parentdfa44d593b805613c57550eda9863e24e3235645 (diff)
downloadgsoc2013-epiphany-fedbee566107f89acab946d5ebd4ef3f5f6d7bdb.tar
gsoc2013-epiphany-fedbee566107f89acab946d5ebd4ef3f5f6d7bdb.tar.gz
gsoc2013-epiphany-fedbee566107f89acab946d5ebd4ef3f5f6d7bdb.tar.bz2
gsoc2013-epiphany-fedbee566107f89acab946d5ebd4ef3f5f6d7bdb.tar.lz
gsoc2013-epiphany-fedbee566107f89acab946d5ebd4ef3f5f6d7bdb.tar.xz
gsoc2013-epiphany-fedbee566107f89acab946d5ebd4ef3f5f6d7bdb.tar.zst
gsoc2013-epiphany-fedbee566107f89acab946d5ebd4ef3f5f6d7bdb.zip
Only use this for gtk < 2.5.1, and just add a few #defines otherwise.
2004-08-09 Christian Persch <chpe@cvs.gnome.org> * 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.
Diffstat (limited to 'lib/widgets/ephy-label.c')
-rw-r--r--lib/widgets/ephy-label.c9
1 files changed, 8 insertions, 1 deletions
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 <gtk/gtkversion.h>
+
+#if !GTK_CHECK_VERSION (2, 5, 1)
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#include "ephy-label.h"
+
#include <math.h>
#include <string.h>
-#include "ephy-label.h"
#include <gtk/gtkmain.h>
#include <gtk/gtkwindow.h>
#include <gdk/gdkkeysyms.h>
@@ -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) */