diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-18 01:46:45 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-18 01:46:45 (EDT) |
commit | b6d1009e828bb086bed2ada844f3225bb746c224 (patch) | |
tree | 8cf9d504a198f3f226fe544891cabd4c68805bcb /src | |
parent | 5097929adbf455914ff0ae6b9dc88fb5b29cfb68 (diff) | |
download | marquee-b6d1009e828bb086bed2ada844f3225bb746c224.zip marquee-b6d1009e828bb086bed2ada844f3225bb746c224.tar.gz marquee-b6d1009e828bb086bed2ada844f3225bb746c224.tar.bz2 |
MqTabLabel: Use g_param_spec_object() for MqTabPage
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-label.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tab-label.c b/src/tab-label.c index 8d99ca7..7622f8f 100644 --- a/src/tab-label.c +++ b/src/tab-label.c @@ -415,10 +415,11 @@ mq_tab_label_class_init(MqTabLabelClass *klass) object_class->get_property = get_property; object_class->set_property = set_property; - obj_properties[PROP_TAB_PAGE] = g_param_spec_pointer( + obj_properties[PROP_TAB_PAGE] = g_param_spec_object( "tab-page", "MqTabPage", "The ancestral MqTabPage instance", + MQ_TYPE_TAB_PAGE, G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB); obj_properties[PROP_WEB_VIEW] = g_param_spec_object( |