[gnome-documents] main-view: don't make view-type a construct property
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] main-view: don't make view-type a construct property
- Date: Tue, 21 Feb 2012 22:25:39 +0000 (UTC)
commit e051ea2d2fac306f5d44306b5479d9a34869a42e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Feb 21 23:21:52 2012 +0100
main-view: don't make view-type a construct property
We explicitly setup GdMainView with an invalid initial value for its
current_type paramter so that we can get notified for the first initial
type set. By having this as a construct property we essentially step on
our toes...
src/lib/gd-main-view.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/lib/gd-main-view.c b/src/lib/gd-main-view.c
index 9062a46..af15a7b 100644
--- a/src/lib/gd-main-view.c
+++ b/src/lib/gd-main-view.c
@@ -137,7 +137,6 @@ gd_main_view_class_init (GdMainViewClass *klass)
GD_MAIN_VIEW_LIST,
GD_MAIN_VIEW_ICON,
G_PARAM_READWRITE |
- G_PARAM_CONSTRUCT |
G_PARAM_STATIC_STRINGS);
properties[PROP_SELECTION_MODE] =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]