diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2014-08-23 20:30:32 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2014-08-23 20:30:32 +0000 |
| commit | fd314c7cbec965ec702c3ea80e1e48d41302d687 (patch) | |
| tree | f920829059c02080daaad12a21c1df2591b5c02a /src/ui/dialog/new-from-template.cpp | |
| parent | gtk_widget_set_margin_left/right deprecation fix (diff) | |
| download | inkscape-fd314c7cbec965ec702c3ea80e1e48d41302d687.tar.gz inkscape-fd314c7cbec965ec702c3ea80e1e48d41302d687.zip | |
Fix deprecated VBox use
(bzr r13341.1.165)
Diffstat (limited to 'src/ui/dialog/new-from-template.cpp')
| -rw-r--r-- | src/ui/dialog/new-from-template.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/new-from-template.cpp b/src/ui/dialog/new-from-template.cpp index f326bb3ee..5ce96d10f 100644 --- a/src/ui/dialog/new-from-template.cpp +++ b/src/ui/dialog/new-from-template.cpp @@ -26,11 +26,11 @@ NewFromTemplate::NewFromTemplate() set_title(_("New From Template")); resize(400, 400); - get_vbox()->pack_start(_main_widget); + get_content_area()->pack_start(_main_widget); Gtk::Alignment *align; align = Gtk::manage(new Gtk::Alignment(Gtk::ALIGN_END, Gtk::ALIGN_CENTER, 0.0, 0.0)); - get_vbox()->pack_end(*align, Gtk::PACK_SHRINK); + get_content_area()->pack_end(*align, Gtk::PACK_SHRINK); align->set_padding(0, 0, 0, 15); align->add(_create_template_button); |
