diff options
-rw-r--r-- | src/web-view.c | 4 |
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, |