diff options
author | raveit65 <[email protected]> | 2017-04-21 18:00:28 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-04-21 20:08:35 +0200 |
commit | e29c96a1af7660e78164bf5c0fe5fae4eaefe59d (patch) | |
tree | 64bab90d0af124e83945832dc67265be012556c4 /cut-n-paste | |
parent | 7618c41f47c8bfd9caa2e0ec340e1a679064c59c (diff) | |
download | eom-e29c96a1af7660e78164bf5c0fe5fae4eaefe59d.tar.bz2 eom-e29c96a1af7660e78164bf5c0fe5fae4eaefe59d.tar.xz |
Revert "Gtk3: don't use deprecated gtk_scrolled_window_add_with_viewport"
This reverts parts of commit 6fc5013e3a61d1b86f077c611c20407a796c414c.
gtk_container_add () causes a runtime warning and breaks toobar-editor
Diffstat (limited to 'cut-n-paste')
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-toolbar-editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c index a9b58d9..be6b342 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c +++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c @@ -641,8 +641,8 @@ update_editor_sheet (EggToolbarEditor *editor) } /* 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); } static void |