diff --git a/file-roller-voidreturn.patch b/file-roller-voidreturn.patch new file mode 100644 index 0000000..3129d81 --- /dev/null +++ b/file-roller-voidreturn.patch @@ -0,0 +1,13 @@ +Index: file-roller-2.30.1.1/src/eggtreemultidnd.c +=================================================================== +--- file-roller-2.30.1.1.orig/src/eggtreemultidnd.c ++++ file-roller-2.30.1.1/src/eggtreemultidnd.c +@@ -310,7 +310,7 @@ egg_tree_multi_drag_motion_event (GtkWid + selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (widget)); + gtk_tree_selection_selected_foreach (selection, selection_foreach, &path_list); + if (path_list == NULL) +- return; ++ return FALSE; + + path_list = g_list_reverse (path_list); + diff --git a/file-roller.changes b/file-roller.changes index 1e3aff7..9a5c3fd 100644 --- a/file-roller.changes +++ b/file-roller.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 5 19:24:57 CEST 2010 - meissner@suse.de + +- fixed 1 void return warning + ------------------------------------------------------------------- Thu Apr 29 14:23:48 CEST 2010 - dimstar@opensuse.org diff --git a/file-roller.spec b/file-roller.spec index 0e2d0c7..6ad826c 100644 --- a/file-roller.spec +++ b/file-roller.spec @@ -25,6 +25,7 @@ Summary: An Archive Manager for GNOME Url: http://fileroller.sourceforge.net Group: Productivity/Archiving/Compression Source: ftp://ftp.gnome.org/pub/GNOME/sources/file-roller/2.18/%{name}-%{version}.tar.bz2 +Patch0: %name-voidreturn.patch BuildRequires: fdupes BuildRequires: gconf2-devel BuildRequires: glib2-devel @@ -89,6 +90,7 @@ This package contains a plugin to integrate File Roller into Nautilus. %lang_package %prep %setup -q +%patch0 -p1 translation-update-upstream %build