summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-label.c3
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(