[PATCH 3/3] Fix big typo: folder list store inherits from list store, not tree store.
- From: José Dapena Paz <jdapena igalia com>
- Subject: [PATCH 3/3] Fix big typo: folder list store inherits from list store, not tree store.
- Date: Thu, 27 Nov 2008 13:20:42 +0100
diff --git a/ChangeLog b/ChangeLog
index c708e40..631dd0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,11 @@
2008-11-27 Jose Dapena Paz <jdapena igalia com>
+ * libtinymailui-gtk/tny-gtk-folder-list-store.c
+ Fix big typo: folder list store inherits from list store, not
+ tree store.
+
* libtinymailui-gtk/tny-gtk-folder-list-store.[ch]:
Folder list store path separator is now configurable.
* libtinymailui-gtk/tny-gtk-folder-list-store.c:
Fixed reference leaks
diff --git a/libtinymailui-gtk/tny-gtk-folder-list-store.c b/libtinymailui-gtk/tny-gtk-folder-list-store.c
index 650748a..6041e6a 100644
--- a/libtinymailui-gtk/tny-gtk-folder-list-store.c
+++ b/libtinymailui-gtk/tny-gtk-folder-list-store.c
@@ -669,10 +669,11 @@ tny_gtk_folder_list_store_instance_init (GTypeInstance *instance, gpointer g_cla
static GType types[] = { G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_OBJECT };
me->signals = g_ptr_array_new ();
me->fol_obs = NULL;
me->store_obs = NULL;
+ me->first = NULL;
me->iterator_lock = g_mutex_new ();
me->first_needs_unref = FALSE;
me->flags = 0;
me->path_separator = g_strdup (DEFAULT_PATH_SEPARATOR);
diff --git a/libtinymailui-gtk/tny-gtk-folder-list-store.h b/libtinymailui-gtk/tny-gtk-folder-list-store.h
index e6ba754..083eb2c 100644
--- a/libtinymailui-gtk/tny-gtk-folder-list-store.h
+++ b/libtinymailui-gtk/tny-gtk-folder-list-store.h
@@ -61,11 +61,11 @@ enum _TnyGtkFolderListStoreFlags
typedef enum _TnyGtkFolderListStoreFlags TnyGtkFolderListStoreFlags;
struct _TnyGtkFolderListStore
{
- GtkTreeStore parent;
+ GtkListStore parent;
GList *first, *store_obs, *fol_obs;
GMutex *iterator_lock;
TnyFolderStoreQuery *query;
gboolean first_needs_unref;
GPtrArray *signals;
@@ -74,11 +74,11 @@ struct _TnyGtkFolderListStore
gchar *path_separator;
};
struct _TnyGtkFolderListStoreClass
{
- GtkTreeStoreClass parent_class;
+ GtkListStoreClass parent_class;
};
GType tny_gtk_folder_list_store_get_type (void);
GType tny_gtk_folder_list_store_column_get_type (void);
GtkTreeModel* tny_gtk_folder_list_store_new (TnyFolderStoreQuery *query);
diff --git a/libtinymailui-gtk/tny-gtk-folder-store-tree-model.c b/libtinymailui-gtk/tny-gtk-folder-store-tree-model.c
index df58816..3fd429e 100644
--- a/libtinymailui-gtk/tny-gtk-folder-store-tree-model.c
+++ b/libtinymailui-gtk/tny-gtk-folder-store-tree-model.c
@@ -690,10 +690,11 @@ tny_gtk_folder_store_tree_model_instance_init (GTypeInstance *instance, gpointer
me->signals = g_ptr_array_new ();
me->fol_obs = NULL;
me->store_obs = NULL;
me->iterator_lock = g_mutex_new ();
me->first_needs_unref = FALSE;
+ me->first = NULL;
me->flags = 0;
gtk_tree_store_set_column_types (store,
TNY_GTK_FOLDER_STORE_TREE_MODEL_N_COLUMNS, types);
--
1.5.6.3
--=-2WXFK6gvVcu4LNiBpCTN--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]