diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-05-02 22:49:56 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-05-02 22:49:56 +0200 |
commit | 663fe58c6c8ce08dae3deea1020ce083fdc14d62 (patch) | |
tree | 303a6f6c4fa03745d0f7781b0e2fde4399591f56 | |
parent | bd1c57f6a1759d3f6dbf125e8c1fedad3676611f (diff) |
wrong function was called for gtk 2.20
-rw-r--r-- | config.h | 2 | ||||
-rw-r--r-- | 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 <stdlib.h> #include <fcntl.h> @@ -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 |