diff options
Diffstat (limited to 'src/eom-window.c')
-rw-r--r-- | src/eom-window.c | 28 |
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); |