diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-12-16 01:35:51 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-16 01:35:51 +0100 |
commit | 6fc5013e3a61d1b86f077c611c20407a796c414c (patch) | |
tree | a656cbf0ecf011c8cda87388e48855b590354d62 /cut-n-paste/toolbar-editor | |
parent | 39fb93e286d09f6cd77b5204aebbe39bfd2a48d6 (diff) | |
download | eom-6fc5013e3a61d1b86f077c611c20407a796c414c.tar.bz2 eom-6fc5013e3a61d1b86f077c611c20407a796c414c.tar.xz |
Gtk3: don't use deprecated gtk_scrolled_window_add_with_viewport
Diffstat (limited to 'cut-n-paste/toolbar-editor')
-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 ce20612..c15e7d3 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c +++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c @@ -733,10 +733,10 @@ update_editor_sheet (EggToolbarEditor *editor) gtk_bin_get_child (GTK_BIN (viewport))); } -#if GTK_CHECK_VERSION (3, 4, 0) +#if GTK_CHECK_VERSION (3, 0, 0) /* Add grid to window. */ - gtk_scrolled_window_add_with_viewport - (GTK_SCROLLED_WINDOW (editor->priv->scrolled_window), grid); + gtk_container_add + (GTK_CONTAINER (editor->priv->scrolled_window), grid); #else /* Add table to window. */ gtk_scrolled_window_add_with_viewport |