summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-18 01:03:22 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-18 01:04:49 (EDT)
commit76422818567e5a7746a1edae3adc68846b920a2a (patch)
tree311be7795bfee30b40c4d2c55e8d11d213ca0d64 /src
parentab777ef1183a5bbd4b5eb3ee4b7d56913033d612 (diff)
downloadmarquee-76422818567e5a7746a1edae3adc68846b920a2a.zip
marquee-76422818567e5a7746a1edae3adc68846b920a2a.tar.gz
marquee-76422818567e5a7746a1edae3adc68846b920a2a.tar.bz2
MqTabLabel: Use g_value_[sg]et_object() for MqTabPage
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));