summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tab-label.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tab-label.c b/src/tab-label.c
index cf0a6b0..8d99ca7 100644
--- a/src/tab-label.c
+++ b/src/tab-label.c
@@ -372,7 +372,7 @@ get_property(GObject *object, guint property_id, GValue *value,
switch (property_id) {
case PROP_TAB_PAGE:
- g_value_set_pointer(value, tab_label->tab_page);
+ g_value_set_object(value, tab_label->tab_page);
break;
case PROP_WEB_VIEW:
g_value_set_object(value, tab_label->web_view);
@@ -394,7 +394,7 @@ set_property(GObject *object, guint property_id, const GValue *value,
switch (property_id) {
case PROP_TAB_PAGE:
- tab_label->tab_page = g_value_get_pointer(value);
+ tab_label->tab_page = g_value_get_object(value);
break;
case PROP_WEB_VIEW:
set_web_view(tab_label, g_value_get_object(value));