summaryrefslogtreecommitdiff
path: root/previewer/ev-previewer-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'previewer/ev-previewer-window.c')
-rw-r--r--previewer/ev-previewer-window.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c
index c039d4e5..e92eb75d 100644
--- a/previewer/ev-previewer-window.c
+++ b/previewer/ev-previewer-window.c
@@ -29,10 +29,6 @@
#include "ev-previewer-window.h"
-#if GTK_CHECK_VERSION (3, 0, 0)
-#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
-#endif
-
struct _EvPreviewerWindow {
GtkWindow base_instance;
@@ -590,7 +586,7 @@ ev_previewer_window_constructor (GType type,
view_sizing_mode_changed (window->model, NULL, window);
- vbox = gtk_vbox_new (FALSE, 0);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
toolbar = gtk_ui_manager_get_widget (window->ui_manager, "/PreviewToolbar");
gtk_box_pack_start (GTK_BOX (vbox), toolbar, FALSE, FALSE, 0);