aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.c-8611
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-util.c-8611')
-rw-r--r--e-util/e-util.c-861115
1 files changed, 14 insertions, 1 deletions
diff --git a/e-util/e-util.c-8611 b/e-util/e-util.c-8611
index d637b33729..f2d787f37e 100644
--- a/e-util/e-util.c-8611
+++ b/e-util/e-util.c-8611
@@ -20,8 +20,10 @@
* Boston, MA 02111-1307, USA.
*/
-#include "e-util.h"
#include <glib.h>
+#include <gtk/gtkobject.h>
+
+#include "e-util.h"
int
g_str_compare(const void *x, const void *y)
@@ -39,3 +41,14 @@ g_int_compare(const void *x, const void *y)
else
return -1;
}
+
+void
+e_free_object_list (GList *list)
+{
+ GList *p;
+
+ for (p = list; p != NULL; p = p->next)
+ gtk_object_unref (GTK_OBJECT (p->data));
+
+ g_list_free (list);
+}