diff options
author | raveit65 <[email protected]> | 2017-08-31 13:26:27 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-31 13:26:27 +0200 |
commit | a45e428f971c9d04ac73ec25da2abc593725445b (patch) | |
tree | 3cf4dc6c79cda125b13cdd2b361981d02cedce3a /libview/ev-view.c | |
parent | f537b005df49234fbc7149b41bc74b149c263482 (diff) | |
download | atril-a45e428f971c9d04ac73ec25da2abc593725445b.tar.bz2 atril-a45e428f971c9d04ac73ec25da2abc593725445b.tar.xz |
libview: drop deprecated usage of gtk_container_set_resize_mode
see https://developer.gnome.org/gtk3/unstable/GtkContainer.html#gtk-container-set-resize-mode
They aren’t necessary anymore since frame clocks and might introduce obscure bugs if used.
Gtk3-inspector shows me that resize-mode-is-parent (default) is used.
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r-- | libview/ev-view.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c index b898286e..80f1df48 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -5277,7 +5277,6 @@ ev_view_init (EvView *view) gtk_widget_set_can_focus (GTK_WIDGET (view), TRUE); gtk_widget_set_has_window (GTK_WIDGET (view), TRUE); gtk_widget_set_redraw_on_allocate (GTK_WIDGET (view), FALSE); - gtk_container_set_resize_mode (GTK_CONTAINER (view), GTK_RESIZE_QUEUE); context = gtk_widget_get_style_context (GTK_WIDGET (view)); gtk_style_context_add_class (context, "content-view"); |