<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>46425</bug_id>
          
          <creation_ts>2004-03-31 16:50 0000</creation_ts>
          <short_desc>ebview-0.3.5 fails to emerge with gtk+-2.4.0</short_desc>
          <delta_ts>2004-04-01 10:09:08 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ikezoe@users.sourceforge.jp</reporter>
          <assigned_to>usata@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>ikezoe@users.sourceforge.jp</who>
            <bug_when>2004-03-31 16:50:46 0000</bug_when>
            <thetext>ebview-0.3.35 fails to emege with gtk+2.4.0.

The following patch fixes this problems.

Though it&apos;s tentative solution, it&apos;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) &amp;&amp; (GTK_MINOR_VERSION &lt; 3)
 #define GTK_DISABLE_DEPRECATED 1
+#endif
 
 #include &quot;../config.h&quot;
 #include &lt;sys/stat.h&gt;
--- 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) &amp;&amp; (GTK_MINOR_VERSION &lt; 3)
+#define GTK_DISABLE_DEPRECATED 1 
+#endif
 
 #define _GLOBAL
 #include &lt;signal.h&gt;


Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-04-01 10:09:08 0000</bug_when>
            <thetext>Applied. Thanks for the patch.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>