rpms/gtk+extra/devel gtk+extra-2.1.1-deleterow.patch, NONE, 1.1 gtk+extra.spec, 1.10, 1.11

Alain Portal (dionysos) fedora-extras-commits at redhat.com
Mon Apr 7 09:16:33 UTC 2008


Author: dionysos

Update of /cvs/extras/rpms/gtk+extra/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23841

Modified Files:
	gtk+extra.spec 
Added Files:
	gtk+extra-2.1.1-deleterow.patch 
Log Message:
  - Patch to fix BZ #431150

gtk+extra-2.1.1-deleterow.patch:

--- NEW FILE gtk+extra-2.1.1-deleterow.patch ---
diff -ur gtk+extra/gtkextra/gtksheet.c gtk+extra-2.1.1/gtkextra/gtksheet.c
--- gtk+extra/gtkextra/gtksheet.c	2008-02-01 01:04:09.000000000 +0100
+++ gtk+extra-2.1.1/gtkextra/gtksheet.c	2008-02-01 01:08:52.000000000 +0100
@@ -7956,11 +7956,10 @@
     }
 
     tbl->maxallocrow-=MIN(nrows,tbl->maxallocrow-row+1);
-    tbl->maxallocrow = MIN(tbl->maxallocrow, tbl->maxrow);
-
   }
 
   tbl->maxrow-=nrows;
+  tbl->maxallocrow = MIN(tbl->maxallocrow, tbl->maxrow);
   gtk_sheet_recalc_top_ypixels(tbl, 0);
   return TRUE;
 } 


Index: gtk+extra.spec
===================================================================
RCS file: /cvs/extras/rpms/gtk+extra/devel/gtk+extra.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- gtk+extra.spec	19 Feb 2008 01:38:30 -0000	1.10
+++ gtk+extra.spec	7 Apr 2008 09:15:52 -0000	1.11
@@ -1,6 +1,6 @@
 Name:		gtk+extra
 Version:	2.1.1
-Release:	7%{?dist}
+Release:	8%{?dist}
 Summary:	A library of gtk+ widgets
 Summary(fr):	Une bibliothèque de widgets gtk+
 
@@ -9,6 +9,7 @@
 URL:		http://gtkextra.sourceforge.net/
 Source:		http://dl.sf.net/scigraphica/gtk+extra-%{version}.tar.gz
 Patch:		%{name}-%{version}.g_free.diff
+Patch1:		%{name}-%{version}-deleterow.patch
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	gtk2-devel
@@ -45,6 +46,7 @@
 %{__sed} -i 's/\r//' docs/tutorial/{*.html,gtksheet/*.{c,html}}
 
 %patch -p0
+%patch1 -p1
 
 %build
 %configure
@@ -79,8 +81,11 @@
 
 
 %changelog
+* Mon Apr 07 2008 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-8
+  - Patch to fix BZ #431150
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 2.1.1-7
-- Autorebuild for GCC 4.3
+  - Autorebuild for GCC 4.3
 
 * Fri Oct 19 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2.1.1-6
   - Update patch to fix BZ #339611




More information about the fedora-extras-commits mailing list