summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-18 01:06:07 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-18 01:06:07 (EDT)
commit5097929adbf455914ff0ae6b9dc88fb5b29cfb68 (patch)
tree483b09fec3a0213f1e9a12392a68b029d56e0f86 /src
parent76422818567e5a7746a1edae3adc68846b920a2a (diff)
downloadmarquee-5097929adbf455914ff0ae6b9dc88fb5b29cfb68.zip
marquee-5097929adbf455914ff0ae6b9dc88fb5b29cfb68.tar.gz
marquee-5097929adbf455914ff0ae6b9dc88fb5b29cfb68.tar.bz2
MqWebView: Use g_value_[sg]et_object() for MqTabPage
Diffstat (limited to 'src')
-rw-r--r--src/web-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web-view.c b/src/web-view.c
index b498232..3bb1f93 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -622,7 +622,7 @@ get_property(GObject *object, guint property_id, GValue *value,
switch (property_id) {
case PROP_TAB_PAGE:
- g_value_set_pointer(value, web_view->tab_page);
+ g_value_set_object(value, web_view->tab_page);
break;
case PROP_REWRITTEN_URI:
g_value_set_string(value, web_view->uri);
@@ -644,7 +644,7 @@ set_property(GObject *object, guint property_id, const GValue *value,
switch (property_id) {
case PROP_TAB_PAGE:
- web_view->tab_page = g_value_get_pointer(value);
+ web_view->tab_page = g_value_get_object(value);
break;
case PROP_REWRITTEN_URI:
mq_web_view_load_uri(web_view,