summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-08-14 04:35:23 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-08-14 04:35:23 +0200
commit12f39a6d899346b88e28bfa28711874bcf07b1bc (patch)
treee9605944f813bb1e0b8622546481865aab42df8e
parente8e3eeeef50c270f2010b3f29723e971aedb727a (diff)
new fix for plugin-tray
-rw-r--r--xchat-wdk.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/xchat-wdk.patch b/xchat-wdk.patch
index 27742a51..15df91aa 100644
--- a/xchat-wdk.patch
+++ b/xchat-wdk.patch
@@ -845,7 +845,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/palette.c xchat-wdk/src/
  #include <fcntl.h>
 diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/plugin-tray.c xchat-wdk/src/fe-gtk/plugin-tray.c
 --- xchat-wdk.orig/src/fe-gtk/plugin-tray.c	2010-08-14 03:46:21 +0200
-+++ xchat-wdk/src/fe-gtk/plugin-tray.c	2010-08-14 04:31:42 +0200
++++ xchat-wdk/src/fe-gtk/plugin-tray.c	2010-08-14 04:34:48 +0200
 @@ -1,7 +1,6 @@
  /* Copyright (C) 2006-2007 Peter Zelezny. */
  
@@ -867,6 +867,15 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/plugin-tray.c xchat-wdk/
  	}
  
  	if (custom_icon1)
+@@ -451,7 +450,7 @@
+ 	/* ph may have an invalid context now */
+ 	xchat_set_context (ph, xchat_find_context (ph, NULL, NULL));
+ 
+-	win = (GtkWindow *)xchat_get_info (ph, "win_ptr");
++	win = xchat_get_info (ph, "gtkwin_ptr");
+ 
+ 	tray_stop_flash ();
+ 	tray_reset_counts ();
 @@ -651,15 +650,15 @@
  		/* FIXME: hides any previous private messages */
  		tray_hilight_count++;