diff options
-rw-r--r-- | shell/ev-window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index ad9feacc..cf40ae7d 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -4169,7 +4169,11 @@ ev_window_cmd_edit_toolbar (GtkAction *action, EvWindow *ev_window) gtk_container_set_border_width (GTK_CONTAINER (editor), 5); gtk_box_set_spacing (GTK_BOX (EGG_TOOLBAR_EDITOR (editor)), 5); +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_box_pack_start (GTK_BOX (content_area), editor, TRUE, TRUE, 0); +#else gtk_container_add (GTK_CONTAINER (content_area), editor); +#endif egg_editable_toolbar_set_edit_mode (toolbar, TRUE); |