Re: gtk2 built

From: Ingo Brückl <ib_at_wupperonline.de>
Date: Thu Nov 17 2011 - 12:33:43 CET

Simon Larochelle wrote on Wed, 16 Nov 2011 20:02:28 -0500:

> Also I needed to create the following link so that the compiler could
> find some ".h" files:
> ln -s src/text/fmt/gtk src/text/fmt/gtk2

There is a better way to fix this.

> Index: src/wp/ap/gtk2/ap_UnixDialog_InsertXMLID.cpp
> ===================================================================
> --- src/wp/ap/gtk2/ap_UnixDialog_InsertXMLID.cpp (revision 30458)
> +++ src/wp/ap/gtk2/ap_UnixDialog_InsertXMLID.cpp (working copy)
> @@ -52,6 +52,14 @@
>
> #define BUTTON_INSERT 1
> #include <gdk/gdkkeysyms.h>
> +
> +#if !GTK_CHECK_VERSION(2,22,0)
> +#define GDK_KEY_Delete GDK_Delete
> +#define GDK_KEY_BackSpace GDK_BackSpace
> +#define GDK_KEY_Left GDK_Left
> +#define GDK_KEY_Right GDK_Right
> +#endif
> +

A nit-pick, but it should be

  #if !GTK_CHECK_VERSION(2,21,8)

Ingo
Received on Thu Nov 17 14:18:16 2011

This archive was generated by hypermail 2.1.8 : Thu Nov 17 2011 - 14:18:16 CET