rpms/gail/devel gail-1.9.0-notebook.patch, NONE, 1.1 gail.spec, 1.46, 1.47

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Jul 28 21:23:26 UTC 2006


Author: mclasen

Update of /cvs/dist/rpms/gail/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7726

Modified Files:
	gail.spec 
Added Files:
	gail-1.9.0-notebook.patch 
Log Message:
fix removal of notebook tabs


gail-1.9.0-notebook.patch:
 gailnotebook.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE gail-1.9.0-notebook.patch ---
--- gail-1.9.0/gail/gailnotebook.c.notebook	2006-07-28 17:21:33.000000000 -0400
+++ gail-1.9.0/gail/gailnotebook.c	2006-07-28 17:21:40.000000000 -0400
@@ -522,7 +522,7 @@
   g_signal_connect (gtk_notebook_get_nth_page (notebook, index), 
                     "parent_set",
                     G_CALLBACK (gail_notebook_child_parent_set),
-                    GINT_TO_POINTER (index));
+                    obj);
 }
 
 static void
@@ -534,7 +534,7 @@
 
   gail_return_if_fail (old_parent != NULL);
   gail_notebook = GAIL_NOTEBOOK (gtk_widget_get_accessible (old_parent));
-  gail_notebook->remove_index = GPOINTER_TO_INT (data);
+  gail_notebook->remove_index = GAIL_NOTEBOOK_PAGE (data)->index;
 }
 
 static gint


Index: gail.spec
===================================================================
RCS file: /cvs/dist/rpms/gail/devel/gail.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- gail.spec	12 Jul 2006 20:29:39 -0000	1.46
+++ gail.spec	28 Jul 2006 21:23:20 -0000	1.47
@@ -5,9 +5,11 @@
 Summary: Accessibility implementation for GTK+ and GNOME libraries
 Name: gail
 Version: 1.9.0
-Release: 1
+Release: 2
 URL: http://developer.gnome.org/projects/gap
 Source0: %{name}-%{version}.tar.bz2
+# http://bugzilla.gnome.org/show_bug.cgi?id=345074
+Patch0: gail-1.9.0-notebook.patch
 License: LGPL
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-root
@@ -41,6 +43,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .notebook
 
 %build
 %configure --disable-gtk-doc
@@ -78,6 +81,9 @@
 %{_datadir}/gtk-doc
 
 %changelog
+* Fri Jul 28 2006 Matthias Clasen <mclasen at redhat.com> - 1.9.0-2
+- Fix removal of notebook tabs
+
 * Wed Jul 12 2006 Matthias Clasen <mclasen at redhat.com> - 1.9.0-1
 - Update to 1.9.0
 




More information about the fedora-cvs-commits mailing list