Compare commits

...
Sign in to create a new pull request.

1 commit

2 changed files with 30 additions and 1 deletions

View file

@ -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

View file

@ -1,6 +1,6 @@
Name: xchat-gnome
Version: 0.26.1
Release: 13%{?dist}
Release: 14%{?dist}
Summary: GNOME front-end to xchat
Group: Applications/Internet
@ -23,6 +23,8 @@ Patch5: 0001-Added-port-numbers-for-Freenode.patch
Patch6: xg-depreciated-macros.patch
# https://bugzilla.gnome.org/599781
Patch7: 0001-Fix-DCC-transfer-timeouts-when-dcc_auto_send-2.patch
# FTBFS, upstream commit 8d35b36baa8204b68c9520ec92327e34c1d7c580
Patch8: xchat-gnome-0.26.1-deprecated-symbol.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -71,6 +73,7 @@ common settings will be included in the main user interface. .
%patch5 -p1 -b .freenode
%patch6 -p1 -b .macros
%patch7 -p1 -b .dcc
%patch8 -p1 -b .symbol
%build
@ -136,6 +139,10 @@ fi
%changelog
* Sat Jul 31 2010 Adam Williamson <awilliam@redhat.com> - 0.26.1-14
- Add deprecated-symbol.patch - upstream commit
8d35b36baa8204b68c9520ec92327e34c1d7c580 - to fix FTBFS
* Tue Jul 27 2010 David Malcolm <dmalcolm@redhat.com> - 0.26.1-13
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild