From a45e428f971c9d04ac73ec25da2abc593725445b Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 31 Aug 2017 13:26:27 +0200 Subject: libview: drop deprecated usage of gtk_container_set_resize_mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- libview/ev-view.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libview/ev-view.c') 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"); -- cgit v1.2.1