summary refs log tree commit diff stats
path: root/xchat-wdk.patch
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-09-29 21:57:26 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-09-29 21:57:26 +0200
commit5b0123fa8c29309a96687953e3ed73908c11110b (patch)
tree1172ff59d96307de8b5eef55ee90abe5b0c48ae7 /xchat-wdk.patch
parentde264bba901d9edc1c065d9a4724a3097e40a74d (diff)
use G_DISABLE_DEPRECATED
Diffstat (limited to 'xchat-wdk.patch')
-rw-r--r--xchat-wdk.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/xchat-wdk.patch b/xchat-wdk.patch
index 226f13d7..52f472ad 100644
--- a/xchat-wdk.patch
+++ b/xchat-wdk.patch
@@ -784,6 +784,31 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/chanlist.c xchat-wdk/src
  #include <fcntl.h>
  #include <time.h>
  
+diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/chanview-tabs.c xchat-wdk/src/fe-gtk/chanview-tabs.c
+--- xchat-wdk.orig/src/fe-gtk/chanview-tabs.c	2005-11-21 05:25:39 +0000
++++ xchat-wdk/src/fe-gtk/chanview-tabs.c	2010-09-29 19:52:34 +0000
+@@ -144,8 +144,8 @@
+ 		for (i = adj->value; ((i > new_value) && (tab_left_is_moving)); i -= 0.1)
+ 		{
+ 			gtk_adjustment_set_value (adj, i);
+-			while (g_main_pending ())
+-				g_main_iteration (TRUE);
++			while (g_main_context_pending (NULL))
++				g_main_context_iteration (NULL, TRUE);
+ 		}
+ 
+ 		gtk_adjustment_set_value (adj, new_value);
+@@ -191,8 +191,8 @@
+ 		for (i = adj->value; ((i < new_value) && (tab_right_is_moving)); i += 0.1)
+ 		{
+ 			gtk_adjustment_set_value (adj, i);
+-			while (g_main_pending ())
+-				g_main_iteration (TRUE);
++			while (g_main_context_pending (NULL))
++				g_main_context_iteration (NULL, TRUE);
+ 		}
+ 
+ 		gtk_adjustment_set_value (adj, new_value);
 diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/editlist.c xchat-wdk/src/fe-gtk/editlist.c
 --- xchat-wdk.orig/src/fe-gtk/editlist.c	2006-03-13 08:33:45 +0000
 +++ xchat-wdk/src/fe-gtk/editlist.c	2010-09-28 14:38:39 +0000