First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 46425
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mamoru KOMACHI (RETIRED) <usata@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: ikezoe <ikezoe@users.sourceforge.jp>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 46425 depends on: Show dependency tree
Show dependency graph
Bug 46425 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-31 16:50 0000
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.

------- Comment #1 From Mamoru KOMACHI (RETIRED) 2004-04-01 10:09:08 0000 -------
Applied. Thanks for the patch.

First Last Prev Next    No search results available      Search page      Enter new bug