diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2013-03-08 01:44:43 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2013-03-08 01:44:43 +0000 |
| commit | 1d3f07d09370bf8fefa7968706375ae3669dbd1c (patch) | |
| tree | 04210cdc85a6f90f3db35e45b06aeb8d2435b550 /src/ui/dialog/aboutbox.cpp | |
| parent | Drop more Gtk::Table usage (diff) | |
| download | inkscape-1d3f07d09370bf8fefa7968706375ae3669dbd1c.tar.gz inkscape-1d3f07d09370bf8fefa7968706375ae3669dbd1c.zip | |
Drop deprecated get_vbox method in Gtk::Dialog
(bzr r12181)
Diffstat (limited to 'src/ui/dialog/aboutbox.cpp')
| -rw-r--r-- | src/ui/dialog/aboutbox.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/dialog/aboutbox.cpp b/src/ui/dialog/aboutbox.cpp index 0c0027c15..d4928d25d 100644 --- a/src/ui/dialog/aboutbox.cpp +++ b/src/ui/dialog/aboutbox.cpp @@ -97,7 +97,12 @@ AboutBox::AboutBox() : Gtk::Dialog(_("About Inkscape")) { tabs->append_page(*manage( make_scrolled_text(license_text)), _("_License"), true); +#if WITH_GTKMM_3_0 + get_content_area()->pack_end(*manage(tabs), true, true); +#else get_vbox()->pack_end(*manage(tabs), true, true); +#endif + tabs->show_all(); add_button(Gtk::Stock::CLOSE, Gtk::RESPONSE_CLOSE); @@ -114,7 +119,11 @@ AboutBox::AboutBox() : Gtk::Dialog(_("About Inkscape")) { label->set_selectable(true); label->show(); +#if WITH_GTKMM_3_0 + get_content_area()->pack_start(*manage(label), false, false); +#else get_vbox()->pack_start(*manage(label), false, false); +#endif Gtk::Requisition requisition; #if GTK_CHECK_VERSION(3,0,0) |
