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

rpms/gtk2-engines/devel gtk2-engines-2.10.0-border-corruption.patch, NONE, 1.1 gtk2-engines.spec, 1.64, 1.65



Author: mclasen

Update of /cvs/extras/rpms/gtk2-engines/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32387

Modified Files:
	gtk2-engines.spec 
Added Files:
	gtk2-engines-2.10.0-border-corruption.patch 
Log Message:
fix memory corruption issues


gtk2-engines-2.10.0-border-corruption.patch:

--- NEW FILE gtk2-engines-2.10.0-border-corruption.patch ---
--- gtk-engines-2.10.0/engines/smooth/src/engine/smooth_gtk2_misc.c.border-corruption	2007-02-12 11:20:17.000000000 -0500
+++ gtk-engines-2.10.0/engines/smooth/src/engine/smooth_gtk2_misc.c	2007-05-15 00:51:09.000000000 -0400
@@ -316,7 +316,7 @@ smooth_gtk_button_get_props (GtkWidget *
       if (tmp_border)
 	{
 	  *default_border = *tmp_border;
-	  g_free (tmp_border);
+	  gtk_border_free (tmp_border);
 	}
       else 
 	{
@@ -337,7 +337,7 @@ smooth_gtk_button_get_props (GtkWidget *
       if (tmp_border)
 	{
 	  *default_outside_border = *tmp_border;
-	  g_free (tmp_border);
+	  gtk_border_free (tmp_border);
 	}
       else 
 	{
--- gtk-engines-2.10.0/engines/support/widget-information.c.border-corruption	2007-02-21 11:20:31.000000000 -0500
+++ gtk-engines-2.10.0/engines/support/widget-information.c	2007-05-15 00:51:09.000000000 -0400
@@ -266,7 +266,7 @@ ge_option_menu_get_props (GtkWidget * wi
   if (tmp_spacing)
     {
       *indicator_spacing = *tmp_spacing;
-      g_free (tmp_spacing);
+      gtk_border_free (tmp_spacing);
     }
   else
     *indicator_spacing = default_spacing;
@@ -285,7 +285,7 @@ ge_button_get_default_border (GtkWidget 
 	if (tmp_border)
 	{
 		*border = *tmp_border;
-		g_free (tmp_border);
+		gtk_border_free (tmp_border);
 	}
 	else
 	{


Index: gtk2-engines.spec
===================================================================
RCS file: /cvs/extras/rpms/gtk2-engines/devel/gtk2-engines.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- gtk2-engines.spec	25 Apr 2007 23:58:00 -0000	1.64
+++ gtk2-engines.spec	15 May 2007 04:56:41 -0000	1.65
@@ -1,12 +1,14 @@
 Summary:        Theme engines for GTK+ 2.0
 Name:           gtk2-engines
 Version:        2.10.0
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:        GPL
 Group:          System Environment/Libraries
 Source:         http://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.9/gtk-engines-%{version}.tar.bz2
 # http://bugzilla.gnome.org/show_bug.cgi?id=412647
 Patch0:		gtk-engines-2.9.4-clearlooks-stepper.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=438456
+Patch1:		gtk2-engines-2.10.0-border-corruption.patch
 
 Conflicts:  	gnome-themes < 2.9.0
 Obsoletes:      gnome-theme-clearlooks <= 0.5
@@ -29,6 +31,7 @@
 %prep
 %setup -q -n gtk-engines-%{version}
 %patch0 -p1 -b .clearlooks-stepper
+%patch1 -p1 -b .border-corruption
 
 %build
 %configure
@@ -66,6 +69,9 @@
 %{_datadir}/gtk-engines
 
 %changelog
+* Tue May 15 2007 Matthias Clasen <mclasen redhat com> - 2.10.0-3
+- Fix some memory corruption errors 
+
 * Wed Apr 25 2007 Matthias Clasen <mclasen redhat com> - 2.10.0-2
 - Remove and undefined macro (#237810)
 


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