ebview-0.3.35 fails to emege with gtk+2.4.0.
The following patch fixes this problems.
Though it's tentative solution, it's useful until next ebview releasing.
--- ebview-0.3.5/src/defs.h 2004-02-15 22:59:41.000000000 +0900
+++ ebview-0.3.5_gtk240/src/defs.h 2004-03-31 23:53:22.000000000 +0900
@@ -19,7 +19,9 @@
#define __DEFS_H__
/* Disable old GTK+ functions */
+#if (GTK_MAJOR_VERSION == 2) && (GTK_MINOR_VERSION < 3)
#define GTK_DISABLE_DEPRECATED 1
+#endif
#include "../config.h"
#include <sys/stat.h>
--- ebview-0.3.5/src/ebview.c 2004-02-22 12:46:29.000000000 +0900
+++ ebview-0.3.5_gtk240/src/ebview.c 2004-03-31 23:52:43.000000000 +0900
@@ -15,7 +15,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GTK_DISABLE_DEPRECATED 1
+#if (GTK_MAJOR_VERSION == 2) && (GTK_MINOR_VERSION < 3)
+#define GTK_DISABLE_DEPRECATED 1
+#endif
#define _GLOBAL
#include <signal.h>
Reproducible: Always
Steps to Reproduce:
1.
2.
3.