rpms/gnomebaker/F-11 gnomebaker-0.6.4-seldata.patch, NONE, 1.1 gnomebaker.spec, 1.21, 1.22
Tomas Smetana
tsmetana at fedoraproject.org
Fri Jan 15 08:15:11 UTC 2010
Author: tsmetana
Update of /cvs/pkgs/rpms/gnomebaker/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4915
Modified Files:
gnomebaker.spec
Added Files:
gnomebaker-0.6.4-seldata.patch
Log Message:
* Fri Jan 15 2010 Tomas Smetana <tsmetana at redhat.com> - 0.6.4-6
- fix random crahses caused by mixing g_new() with g_slice_free()
- fix #552302, #553859, #554162, #554509, #554514
gnomebaker-0.6.4-seldata.patch:
filebrowser.c | 2 +-
gnomebaker.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
--- NEW FILE gnomebaker-0.6.4-seldata.patch ---
diff -up gnomebaker-0.6.4/src/filebrowser.c.seldata gnomebaker-0.6.4/src/filebrowser.c
--- gnomebaker-0.6.4/src/filebrowser.c.seldata 2010-01-13 15:22:55.000000000 +0100
+++ gnomebaker-0.6.4/src/filebrowser.c 2010-01-13 15:24:09.000000000 +0100
@@ -866,7 +866,7 @@ filebrowser_get_selection(gboolean from_
else
tree = glade_xml_get_widget(gnomebaker_getxml(), widget_browser_filelist);
- GtkSelectionData *selection_data = g_new0(GtkSelectionData, 1);
+ GtkSelectionData *selection_data = g_slice_new0(GtkSelectionData);
filebrowser_on_drag_data_get(tree, NULL, selection_data, 0, 0, NULL);
return selection_data;
}
diff -up gnomebaker-0.6.4/src/gnomebaker.c.seldata gnomebaker-0.6.4/src/gnomebaker.c
--- gnomebaker-0.6.4/src/gnomebaker.c.seldata 2010-01-13 15:23:16.000000000 +0100
+++ gnomebaker-0.6.4/src/gnomebaker.c 2010-01-13 15:24:32.000000000 +0100
@@ -529,7 +529,7 @@ gnomebaker_on_add_files(gpointer widget,
}
/*gtk_selection_data_set_uris(selection_data, uris);*/
- selection_data = g_new0(GtkSelectionData, 1);
+ selection_data = g_slice_new0(GtkSelectionData);
gtk_selection_data_set(selection_data, selection_data->target, 8,
(const guchar*)text->str, strlen(text->str) * sizeof(gchar));
GB_TRACE("gnomebaker_on_add_files - [%s]\n", selection_data->data);
@@ -1073,7 +1073,7 @@ gnomebaker_select_files_or_folders(const
}
/*gtk_selection_data_set_uris(selection_data, uris);*/
- selection_data = g_new0(GtkSelectionData, 1);
+ selection_data = g_slice_new0(GtkSelectionData);
gtk_selection_data_set(selection_data, selection_data->target, 8,
(const guchar*)text->str, strlen(text->str) * sizeof(gchar));
GB_TRACE("gnomebaker_select_files_or_folders - [%s]\n", selection_data->data);
Index: gnomebaker.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnomebaker/F-11/gnomebaker.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- gnomebaker.spec 13 Aug 2009 08:28:12 -0000 1.21
+++ gnomebaker.spec 15 Jan 2010 08:15:11 -0000 1.22
@@ -1,6 +1,6 @@
Name: gnomebaker
Version: 0.6.4
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: GNOME CD/DVD burner
Group: Applications/Multimedia
@@ -28,6 +28,7 @@ Requires(post): scrollkeeper
Requires(postun): scrollkeeper
Patch0: gnomebaker-0.6.4-mimetype.patch
+Patch1: gnomebaker-0.6.4-seldata.patch
%description
CD/DVD burner designed for the GNOME desktop.
@@ -36,6 +37,7 @@ CD/DVD burner designed for the GNOME des
%prep
%setup -q
%patch0 -p1 -b .mimetype
+%patch1 -p1 -b .seldata
chmod 644 AUTHORS TODO
@@ -88,6 +90,10 @@ update-desktop-database &> /dev/null ||
%changelog
+* Fri Jan 15 2010 Tomas Smetana <tsmetana at redhat.com> - 0.6.4-6
+- fix random crahses caused by mixing g_new() with g_slice_free()
+- fix #552302, #553859, #554162, #554509, #554514
+
* Thu Aug 13 2009 Tomas Smetana <tsmetana at redhat.com> - 0.6.4-5
- Shouldn't update the mime database but the desktop database
More information about the scm-commits
mailing list