From: Melvin H. <mha...@us...> - 2004-01-22 03:18:20
|
Update of /cvsroot/libetpan/xetpan/src In directory sc8-pr-cvs1:/tmp/cvs-serv26941/src Modified Files: gtk-ui.c Log Message: * src/gtk-ui.c: - Adjusted header for current libEtPan! - a_Message_free()-> a_Message->unref() - Removed obsolete code Index: gtk-ui.c =================================================================== RCS file: /cvsroot/libetpan/xetpan/src/gtk-ui.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -d -r1.58 -r1.59 --- gtk-ui.c 16 Dec 2003 01:44:49 -0000 1.58 +++ gtk-ui.c 22 Jan 2004 03:18:17 -0000 1.59 @@ -37,7 +37,7 @@ #include <gdk/gdkkeysyms.h> #include <gdk/gdkevents.h> /* GDK_BUTTON_PRESS */ -#include <clist.h> +#include <libetpan/clist.h> #include "intl.h" @@ -268,28 +268,6 @@ guint sort_col_id, GtkSortType sort_order, gpointer data); -#if 0 -static gboolean -GtkUI_summaryview_list_data_func(void *iterator, - guint col_id, - void **content, - gchar **attribute, - gpointer data); - -static void -GtkUI_summaryview_list_params_func(void *iterator, - gboolean *has_children, - guint *depth, - gpointer data); - -static gboolean -GtkUI_summaryview_list_iterator_func(void **iterator, - gboolean next, - gboolean ignore_children, - guint sort_col_id, - GtkSortType sort_order, - gpointer data); -#endif static mailmessage * GtkUI_summaryview_get_selected_msg(XePGTKSummaryView *sview); @@ -339,15 +317,6 @@ mailmessage_tree_prev(struct mailmessage_tree *parent, struct mailmessage_tree *self); - -#if 0 -static uint32_t -mailmessage_list_next(struct mailmessage_list *ep_list, uint32_t index); - -static uint32_t -mailmessage_list_prev(struct mailmessage_list *ep_list, uint32_t index); -#endif - /* IO Watch Callback */ static gboolean @@ -2092,7 +2061,7 @@ for (i = 0; i < count; i++) { message = (XePMessage *) carray_get(messages, i); - a_Message_free(message); + a_Message_unref(message); } carray_free(messages); |