From f277a4e29304aa83d1ede7f6d6481d1c3217781e Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 30 Jul 2016 14:37:17 +0200 Subject: GTK+-3 print-preview: don't use deprecated gtk_adjustment_value_changed() When set_value() is called the signal is emitted. taken from: https://git.gnome.org/browse/gedit/commit/?id=ed97b92 --- pluma/pluma-print-preview.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pluma/pluma-print-preview.c b/pluma/pluma-print-preview.c index 909fea81..7e8dfe00 100644 --- a/pluma/pluma-print-preview.c +++ b/pluma/pluma-print-preview.c @@ -954,8 +954,10 @@ preview_layout_key_press (GtkWidget *widget, gtk_adjustment_set_value (hadj, x); gtk_adjustment_set_value (vadj, y); +#if !GTK_CHECK_VERSION (3, 0, 0) gtk_adjustment_value_changed (hadj); gtk_adjustment_value_changed (vadj); +#endif } return ret; -- cgit v1.2.1