summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Tarricone <brian@tarricone.org>2008-10-17 09:30:43 +0000
committerBrian Tarricone <brian@tarricone.org>2008-10-17 09:30:43 +0000
commit56e41c907a8d1f98a29d98940d2a82b38902d0c1 (patch)
treef97358de4a75f873ce9da37667afc2922d0e8e0e
parent508a2a9770548dc9697f73e21614cc9074095aba (diff)
downloadxfce4-session-56e41c907a8d1f98a29d98940d2a82b38902d0c1.tar.gz
* libxfsm/xfsm-utils.[ch]: Also remove xfsm_strv_copy(), as it isn't used
(Old svn revision: 28280)
-rw-r--r--ChangeLog3
-rw-r--r--libxfsm/xfsm-util.c18
-rw-r--r--libxfsm/xfsm-util.h1
3 files changed, 2 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index 8236c5c0..70f986cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,8 @@
* xfce4-session/xfsm-chooser.c: Use xfce_create_mixed_button()
instead of xfsm_imgbtn_new() (bug 1446).
- * libxfsm/xfsm-utils.[ch]: Remove xfsm_imgbtn_new().
+ * libxfsm/xfsm-utils.[ch]: Remove xfsm_imgbtn_new() and
+ xfsm_strv_copy().
2008-10-17 Brian Tarricone <bjt23@cornell.edu>
diff --git a/libxfsm/xfsm-util.c b/libxfsm/xfsm-util.c
index bd1699de..ca720782 100644
--- a/libxfsm/xfsm-util.c
+++ b/libxfsm/xfsm-util.c
@@ -126,24 +126,6 @@ xfsm_place_trash_window (GtkWindow *window,
}
-gchar**
-xfsm_strv_copy (gchar **v)
-{
- gchar **rv;
- gsize len;
- gsize n;
-
- for (len = 0; v[len] != NULL; ++len) ;
-
- rv = g_new (gchar *, len + 1);
- for (n = 0; n < len; ++n)
- rv[n] = g_strdup (v[n]);
- rv[n] = NULL;
-
- return rv;
-}
-
-
gboolean
xfsm_strv_equal (gchar **a, gchar **b)
{
diff --git a/libxfsm/xfsm-util.h b/libxfsm/xfsm-util.h
index deaac7b6..d479beed 100644
--- a/libxfsm/xfsm-util.h
+++ b/libxfsm/xfsm-util.h
@@ -42,7 +42,6 @@ void xfsm_place_trash_window (GtkWindow *window,
gint monitor);
/* XXX - move to libxfce4util? */
-gchar **xfsm_strv_copy (gchar **v);
gboolean xfsm_strv_equal (gchar **a, gchar **b);
void xfsm_window_add_border (GtkWindow *window);