From 663fe58c6c8ce08dae3deea1020ce083fdc14d62 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Sun, 2 May 2010 22:49:56 +0200 Subject: [PATCH] wrong function was called for gtk 2.20 --- config.h | 2 +- xchat-wdk.patch | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 34c6aca7..7b0afe58 100644 --- a/config.h +++ b/config.h @@ -3,7 +3,7 @@ #define USE_GMODULE #define USE_PLUGIN #define PACKAGE_NAME "xchat" -#define PACKAGE_VERSION "r1412-2" +#define PACKAGE_VERSION "r1412-3" #define XCHATLIBDIR "." #define XCHATSHAREDIR "." #define OLD_PERL diff --git a/xchat-wdk.patch b/xchat-wdk.patch index aa9e95f3..e887b037 100644 --- a/xchat-wdk.patch +++ b/xchat-wdk.patch @@ -712,7 +712,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/maingui.c xchat-wdk/src/ gtk_widget_show (button); diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/menu.c xchat-wdk/src/fe-gtk/menu.c --- xchat-wdk.orig/src/fe-gtk/menu.c 2008-06-10 14:05:00 +0200 -+++ xchat-wdk/src/fe-gtk/menu.c 2010-05-02 13:54:19 +0200 ++++ xchat-wdk/src/fe-gtk/menu.c 2010-05-02 22:48:00 +0200 @@ -22,7 +22,6 @@ #include #include @@ -726,7 +726,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/menu.c xchat-wdk/src/fe- { /* GTK2.2 behaviour */ - return GTK_WIDGET_IS_SENSITIVE (widget); -+ return gtk_widget_get_visible (widget); ++ return gtk_widget_is_sensitive (widget); } #endif