summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-27 21:54:11 +0200
committerinfirit <[email protected]>2014-07-27 21:54:11 +0200
commit676196ec7eedc0f98dc29fb2fd6086426373670b (patch)
treef24cfd9d606c3b6501fa69fc806d4be4fcdb7254 /src/eom-window.c
parent4072dcf8e4eb9895a6abed3a62a27da208e0af40 (diff)
downloadeom-676196ec7eedc0f98dc29fb2fd6086426373670b.tar.bz2
eom-676196ec7eedc0f98dc29fb2fd6086426373670b.tar.xz
Set zoomed out antialiasing using a GSettings binding
Based on eog commit bfef239942645fff4a5efe71d801ccb92a185cf7 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 ee15a4f..aad323a 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_out_type_changed_cb (GSettings *settings, gchar *key, gpointer user_data)
-{
- EomWindowPrivate *priv;
- gboolean interpolate_out = 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_out = g_settings_get_boolean (settings, key);
-
- eom_scroll_view_set_antialiasing_out (EOM_SCROLL_VIEW (priv->view),
- interpolate_out);
-}
-
-static void
eom_window_transparency_changed_cb (GSettings *settings, gchar *key, gpointer user_data)
{
EomWindowPrivate *priv;
@@ -4473,9 +4453,6 @@ eom_window_construct_ui (EomWindow *window)
gtk_box_pack_end (GTK_BOX (priv->cbox), priv->layout, TRUE, TRUE, 0);
- eom_window_interp_out_type_changed_cb (priv->view_settings,
- EOM_CONF_VIEW_INTERPOLATE,
- window);
eom_window_transparency_changed_cb (priv->view_settings,
EOM_CONF_VIEW_TRANSPARENCY,
window);
@@ -4522,11 +4499,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_INTERPOLATE,
- G_CALLBACK (eom_window_interp_out_type_changed_cb),
- window);
-
- g_signal_connect (priv->view_settings,
"changed::" EOM_CONF_VIEW_TRANSPARENCY,
G_CALLBACK (eom_window_transparency_changed_cb),
window);