diff options
author | raveit65 <[email protected]> | 2016-07-30 14:37:17 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-08-31 16:14:15 +0200 |
commit | f277a4e29304aa83d1ede7f6d6481d1c3217781e (patch) | |
tree | dee0db8a2c52a9904558456c6634359f0620d8ed | |
parent | 3122424b75f05c522586bb7ced6a6bb638c5deb5 (diff) | |
download | pluma-f277a4e29304aa83d1ede7f6d6481d1c3217781e.tar.bz2 pluma-f277a4e29304aa83d1ede7f6d6481d1c3217781e.tar.xz |
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
-rw-r--r-- | pluma/pluma-print-preview.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |