summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-27 21:47:26 +0200
committerinfirit <[email protected]>2014-07-27 21:47:26 +0200
commit4072dcf8e4eb9895a6abed3a62a27da208e0af40 (patch)
tree65c6302d12ca6958b982d04e7da22f01af93029c /src/eom-window.c
parent845be7089dfde1cb1168e19b01e9fdbb9852cf1e (diff)
downloadeom-4072dcf8e4eb9895a6abed3a62a27da208e0af40.tar.bz2
eom-4072dcf8e4eb9895a6abed3a62a27da208e0af40.tar.xz
Set zoomed in antialiasing using a GSettings binding
Based on eog commit 15917972d9a60fc185b1cc9a7b4e304952c49d2d From Felix Riemann <[email protected]>
Diffstat (limited to 'src/eom-window.c')
-rw-r--r--src/eom-window.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index db585f9..ee15a4f 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -226,26 +226,6 @@ eom_window_error_quark (void)
}
static void
-eom_window_interp_in_type_changed_cb (GSettings *settings, gchar *key, gpointer user_data)
-{
- EomWindowPrivate *priv;
- gboolean interpolate_in = TRUE;
-
- eom_debug (DEBUG_PREFERENCES);
-
- g_return_if_fail (EOM_IS_WINDOW (user_data));
-
- priv = EOM_WINDOW (user_data)->priv;
-
- g_return_if_fail (EOM_IS_SCROLL_VIEW (priv->view));
-
- interpolate_in = g_settings_get_boolean (settings, key);
-
- eom_scroll_view_set_antialiasing_in (EOM_SCROLL_VIEW (priv->view),
- interpolate_in);
-}
-
-static void
eom_window_interp_out_type_changed_cb (GSettings *settings, gchar *key, gpointer user_data)
{
EomWindowPrivate *priv;
@@ -4493,9 +4473,6 @@ eom_window_construct_ui (EomWindow *window)
gtk_box_pack_end (GTK_BOX (priv->cbox), priv->layout, TRUE, TRUE, 0);
- eom_window_interp_in_type_changed_cb (priv->view_settings,
- EOM_CONF_VIEW_EXTRAPOLATE,
- window);
eom_window_interp_out_type_changed_cb (priv->view_settings,
EOM_CONF_VIEW_INTERPOLATE,
window);
@@ -4545,11 +4522,6 @@ eom_window_init (EomWindow *window)
priv->lockdown_settings = g_settings_new (EOM_CONF_LOCKDOWN_SCHEMA);
g_signal_connect (priv->view_settings,
- "changed::" EOM_CONF_VIEW_EXTRAPOLATE,
- G_CALLBACK (eom_window_interp_in_type_changed_cb),
- window);
-
- g_signal_connect (priv->view_settings,
"changed::" EOM_CONF_VIEW_INTERPOLATE,
G_CALLBACK (eom_window_interp_out_type_changed_cb),
window);