[gnome-builder/document-manager] GbDocumentManager: set column types on init
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/document-manager] GbDocumentManager: set column types on init
- Date: Thu, 4 Dec 2014 19:26:45 +0000 (UTC)
commit f5320a315e20a10d2220560318fe315ce4bb7022
Author: Christian Hergert <christian hergert me>
Date: Thu Dec 4 11:26:00 2014 -0800
GbDocumentManager: set column types on init
src/documents/gb-document-manager.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/documents/gb-document-manager.c b/src/documents/gb-document-manager.c
index 221560b..704fc99 100644
--- a/src/documents/gb-document-manager.c
+++ b/src/documents/gb-document-manager.c
@@ -249,4 +249,9 @@ gb_document_manager_class_init (GbDocumentManagerClass *klass)
static void
gb_document_manager_init (GbDocumentManager *self)
{
+ GType column_types[] = { GB_TYPE_DOCUMENT };
+
+ gtk_list_store_set_column_types (GTK_LIST_STORE (self),
+ G_N_ELEMENTS (column_types),
+ column_types);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]