Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
prepare new upstream release (v1.22.2)
· eaa0a51a
Mike Gabriel
authored
Sep 06, 2019
eaa0a51a
debian/patches: Drop 0001_Remove_unused_g_ptr_array_copy.patch. Applied upstream.
· e5d2c084
Mike Gabriel
authored
Sep 06, 2019
e5d2c084
upload to unstable (debian/1.22.2-1)
· 4ce5e3bd
Mike Gabriel
authored
Sep 06, 2019
4ce5e3bd
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
4ce5e3bd
engrampa (1.22.2-1) unstable; urgency=medium
* New upstream release.
* debian/patches:
+ Drop 0001_Remove_unused_g_ptr_array_copy.patch. Applied upstream.
-- Mike Gabriel <sunweaver@debian.org> Fri, 06 Sep 2019 08:38:03 +0200
engrampa (1.22.1-2) unstable; urgency=medium
[ Martin Wimpress ]
...
...
debian/patches/0001_Remove_unused_g_ptr_array_copy.patch
deleted
100644 → 0
View file @
e1b96357
Origin: https://github.com/mate-desktop/engrampa/commit/df3d24ca21ce8abd0f325c21dc7e249803e2ab83.diff
Author: rbuj <robert.buj@gmail.com>
Description: glib-utils: Remove unused function - g_ptr_array_copy
diff --git a/src/glib-utils.c b/src/glib-utils.c
index 27d4548c..38d78454 100644
--- a/src/glib-utils.c
+++ b/src/glib-utils.c
@@ -568,22 +568,6 @@
get_time_string (time_t time)
}
-GPtrArray *
-g_ptr_array_copy (GPtrArray *array)
-{
- GPtrArray *new_array;
-
- if (array == NULL)
- return NULL;
-
- new_array = g_ptr_array_sized_new (array->len);
- memcpy (new_array->pdata, array->pdata, array->len * sizeof (gpointer));
- new_array->len = array->len;
-
- return new_array;
-}
-
-
void
g_ptr_array_free_full (GPtrArray *array,
GFunc free_func,
diff --git a/src/glib-utils.h b/src/glib-utils.h
index 0c8f88b8..d9a2f790 100644
--- a/src/glib-utils.h
+++ b/src/glib-utils.h
@@ -66,7 +66,6 @@
const char * get_last_field (const char *line,
int last_field);
int n_fields (char **str_array);
char * get_time_string (time_t time);
-GPtrArray * g_ptr_array_copy (GPtrArray *array);
void g_ptr_array_free_full (GPtrArray *array,
GFunc func,
gpointer user_data);
debian/patches/series
deleted
100644 → 0
View file @
e1b96357
0001_Remove_unused_g_ptr_array_copy.patch