[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/gtk+extra/FC-5 gtk+extra-2.1.1.g_free.diff, NONE, 1.1 gtk+extra.spec, 1.4, 1.5



Author: dionysos

Update of /cvs/extras/rpms/gtk+extra/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31748

Modified Files:
	gtk+extra.spec 
Added Files:
	gtk+extra-2.1.1.g_free.diff 
Log Message:
Add patch to fix SF #1504169.

gtk+extra-2.1.1.g_free.diff:

--- NEW FILE gtk+extra-2.1.1.g_free.diff ---
--- gtkextra/gtksheet.c.orig	2005-06-24 19:51:00.000000000 +0200
+++ gtkextra/gtksheet.c	2007-05-03 09:43:41.000000000 +0200
@@ -4149,7 +4149,7 @@
 			   &pixmap_width, &pixmap_height);
       if ((pixmap_width != width) || (pixmap_height != height))
 	{
-          g_free(sheet->pixmap);
+          g_object_unref(sheet->pixmap);
 	  sheet->pixmap = gdk_pixmap_new (sheet->sheet_window,
 					       width, height,
 					       -1);


Index: gtk+extra.spec
===================================================================
RCS file: /cvs/extras/rpms/gtk+extra/FC-5/gtk+extra.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gtk+extra.spec	13 Mar 2006 09:03:47 -0000	1.4
+++ gtk+extra.spec	3 May 2007 08:06:52 -0000	1.5
@@ -1,6 +1,6 @@
 Name:		gtk+extra
 Version:	2.1.1
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	A library of gtk+ widgets
 Summary(fr):	Une bibliothèque de widgets gtk+
 
@@ -8,6 +8,7 @@
 License:	LGPL
 URL:		http://gtkextra.sourceforge.net/
 Source:		http://dl.sf.net/scigraphica/gtk+extra-%{version}.tar.gz
+Patch:		%{name}-%{version}.g_free.diff
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	gtk2-devel
@@ -43,6 +44,8 @@
 %{__sed} -i 's/\r//' docs/reference/*.html
 %{__sed} -i 's/\r//' docs/tutorial/{*.html,gtksheet/*.{c,html}}
 
+%patch -p0
+
 %build
 %configure
 make %{?_smp_mflags}
@@ -76,6 +79,9 @@
 
 
 %changelog
+* Thu May  3 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-3
+  - Add patch to fix SF #1504169
+
 * Mon Mar 13 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-2
   - Rebuild for FE5
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]