diff options
author | monsta <[email protected]> | 2017-05-08 16:36:32 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-05-08 16:41:22 +0300 |
commit | 5621685d9af9a35a5a600ae8b80e0ce0d24a8075 (patch) | |
tree | 5a5b56277eb58015513bc0aa303151ace5464043 | |
parent | 30c02bd122b35931de82119e4b08ce1a79abeba4 (diff) | |
download | eom-1.16.tar.bz2 eom-1.16.tar.xz |
[GTK+3] fix breakage of toolbar editor on first drag-n-drop1.16
This reverts commit 6fc5013e3a61d1b86f077c611c20407a796c414c.
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-toolbar-editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c index 407738d..fb46d99 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c +++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c @@ -738,10 +738,10 @@ update_editor_sheet (EggToolbarEditor *editor) gtk_bin_get_child (GTK_BIN (viewport))); } -#if GTK_CHECK_VERSION (3, 0, 0) +#if GTK_CHECK_VERSION (3, 4, 0) /* Add grid to window. */ - gtk_container_add - (GTK_CONTAINER (editor->priv->scrolled_window), grid); + gtk_scrolled_window_add_with_viewport + (GTK_SCROLLED_WINDOW (editor->priv->scrolled_window), grid); #else /* Add table to window. */ gtk_scrolled_window_add_with_viewport |