diff options
author | Brendan Taylor <whateley@gmail.com> | 2011-07-25 19:09:49 +0000 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-07-25 19:09:49 +0000 |
commit | 7180bedbc91efa454b9d5886e9491d4711c7852b (patch) | |
tree | 57492346e6fc6f3f9793bf56172467fc42e62a07 /src/uzbl-core.c | |
parent | 91da964076912a556a68a38b0f095f2f747ada25 (diff) |
remove the scrollbars_visible variable
it doesn't work on GTK3, and discussion on the webkit-gtk mailing list
suggests that it was never intended to work. instead, GTK theming can
be used to hide scrollbars.
Diffstat (limited to 'src/uzbl-core.c')
-rw-r--r-- | src/uzbl-core.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c index d6bd589..af60767 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -779,13 +779,6 @@ create_scrolled_win() { g->web_view = WEBKIT_WEB_VIEW(webkit_web_view_new()); g->scrolled_win = gtk_scrolled_window_new(NULL, NULL); - WebKitWebFrame *wf = webkit_web_view_get_main_frame (g->web_view); - -#if !GTK_CHECK_VERSION(3,0,0) - /* hide the scrollbars by default */ - uzbl.gui.scrollbars_visible = 0; - cmd_scrollbars_visibility(); -#endif gtk_container_add( GTK_CONTAINER(g->scrolled_win), @@ -816,10 +809,6 @@ create_scrolled_win() { "signal::focus-out-event", (GCallback)focus_cb, NULL, "signal::window-object-cleared", (GCallback)window_object_cleared_cb,NULL, NULL); - - g_object_connect (G_OBJECT (wf), - "signal::scrollbars-policy-changed", (GCallback)scrollbars_policy_cb, NULL, - NULL); } |