summaryrefslogtreecommitdiff
path: root/extra/xchat-gnome/xchat-gnome-0.26.1-deprecated-symbol.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xchat-gnome/xchat-gnome-0.26.1-deprecated-symbol.patch')
-rw-r--r--extra/xchat-gnome/xchat-gnome-0.26.1-deprecated-symbol.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/xchat-gnome/xchat-gnome-0.26.1-deprecated-symbol.patch b/extra/xchat-gnome/xchat-gnome-0.26.1-deprecated-symbol.patch
new file mode 100644
index 000000000..5bf1e4ef5
--- /dev/null
+++ b/extra/xchat-gnome/xchat-gnome-0.26.1-deprecated-symbol.patch
@@ -0,0 +1,22 @@
+From 8d35b36baa8204b68c9520ec92327e34c1d7c580 Mon Sep 17 00:00:00 2001
+From: Ritesh Khadgaray <khadgaray@gmail.com>
+Date: Sun, 04 Jul 2010 09:52:07 +0000
+Subject: remove deprecated GTK+ symbols, GTK_WIDGET_SET_FLAGS.
+
+---
+diff --git a/src/fe-gnome/xtext.c b/src/fe-gnome/xtext.c
+index 92562a3..51503f8 100644
+--- a/src/fe-gnome/xtext.c
++++ b/src/fe-gnome/xtext.c
+@@ -963,7 +963,7 @@ gtk_xtext_realize (GtkWidget * widget)
+ GdkColor col;
+ GdkColormap *cmap;
+
+- GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
++ gtk_widget_set_realized (widget, TRUE);
+ xtext = GTK_XTEXT (widget);
+
+ attributes.x = widget->allocation.x;
+--
+cgit v0.8.3.1
+