Commit 1edb51e3 authored by Christian Persch's avatar Christian Persch

Fix for GtkVBox deprecation

On gtk3, use a GtkBox.
parent dfd6cbed
......@@ -611,7 +611,11 @@ populate_window (GtkWidget * win, ViewerCbInfo * info, int xid, gint win_width,
GtkWidget *scroll;
gint img_width, img_height;
#if GTK_CHECK_VERSION (3, 2, 0)
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#else
vbox = gtk_vbox_new (FALSE, 0);
#endif
gtk_container_add (GTK_CONTAINER (win), vbox);
/* create a new image */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment