[gnome-photos] item-model: Fix typo
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] item-model: Fix typo
- Date: Sat, 5 May 2012 20:22:15 +0000 (UTC)
commit 24f530cf7f311349ea5a1a847f87eef153688453
Author: Debarshi Ray <debarshir gnome org>
Date: Sat May 5 16:36:58 2012 +0200
item-model: Fix typo
src/photos-item-model.c | 5 -----
src/photos-item-model.h | 2 +-
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/photos-item-model.c b/src/photos-item-model.c
index 3452d1d..f5c9c9b 100644
--- a/src/photos-item-model.c
+++ b/src/photos-item-model.c
@@ -64,11 +64,6 @@ photos_item_model_init (PhotosItemModel *self)
G_TYPE_LONG, /* MTIME */
G_TYPE_BOOLEAN}; /* STATE */
- self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- PHOTOS_TYPE_ITEM_MODEL,
- PhotosItemModelPrivate);
- priv = self->priv;
-
gtk_list_store_set_column_types (GTK_LIST_STORE (self), sizeof (columns) / sizeof (columns[0]), columns);
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (self), PHOTOS_ITEM_MODEL_MTIME, GTK_SORT_DESCENDING);
}
diff --git a/src/photos-item-model.h b/src/photos-item-model.h
index fb1fbad..f593ec2 100644
--- a/src/photos-item-model.h
+++ b/src/photos-item-model.h
@@ -27,7 +27,7 @@
G_BEGIN_DECLS
-#define PHOTOS_TYPE_ITEM_MODEL (photos_view_embed_get_type ())
+#define PHOTOS_TYPE_ITEM_MODEL (photos_item_model_get_type ())
#define PHOTOS_ITEM_MODEL(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]