diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2017-07-09 22:37:37 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2017-07-09 22:37:37 +0000 |
| commit | 405c25197312a4236e2903965a8ac7a9976cdde3 (patch) | |
| tree | cd18de8fa1fb4082146e7fab0333de87c245b135 /src/ui/dialog/styledialog.cpp | |
| parent | Update Gtk margin handling (diff) | |
| download | inkscape-405c25197312a4236e2903965a8ac7a9976cdde3.tar.gz inkscape-405c25197312a4236e2903965a8ac7a9976cdde3.zip | |
Update GtkDialog usage
Diffstat (limited to 'src/ui/dialog/styledialog.cpp')
| -rw-r--r-- | src/ui/dialog/styledialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/styledialog.cpp b/src/ui/dialog/styledialog.cpp index 3642c0168..aa453e8e8 100644 --- a/src/ui/dialog/styledialog.cpp +++ b/src/ui/dialog/styledialog.cpp @@ -882,12 +882,12 @@ void StyleDialog::_addSelector() textDialogPtr->add_button(_("Add"), Gtk::RESPONSE_OK); Gtk::Entry *textEditPtr = manage ( new Gtk::Entry() ); - textDialogPtr->get_vbox()->pack_start(*textEditPtr, Gtk::PACK_SHRINK); + textDialogPtr->get_content_area()->pack_start(*textEditPtr, Gtk::PACK_SHRINK); Gtk::Label *textLabelPtr = manage ( new Gtk::Label( _("Invalid entry: Not an id (#), class (.), or element CSS selector.") ) ); - textDialogPtr->get_vbox()->pack_start(*textLabelPtr, Gtk::PACK_SHRINK); + textDialogPtr->get_content_area()->pack_start(*textLabelPtr, Gtk::PACK_SHRINK); /** * By default, the entrybox contains 'Class1' as text. However, if object(s) |
