From 15ec9b4e65f298a7fb44b242a6bf78a67b42c318 Mon Sep 17 00:00:00 2001 From: Stephen Collins Date: Wed, 8 May 2019 03:29:29 -0600 Subject: [PATCH] Print preview: remove a couple calls to gtk_adjustment_value_changed (#296) This function is no longer needed as the "value-changed" signal is automatically emitted whenever the value changes (since Gtk 3.18). --- xed/xed-print-preview.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/xed/xed-print-preview.c b/xed/xed-print-preview.c index d388fc7..dddf2f8 100644 --- a/xed/xed-print-preview.c +++ b/xed/xed-print-preview.c @@ -924,9 +924,6 @@ preview_layout_key_press (GtkWidget *widget, { gtk_adjustment_set_value (hadj, x); gtk_adjustment_set_value (vadj, y); - - gtk_adjustment_value_changed (hadj); - gtk_adjustment_value_changed (vadj); } return ret;