summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/styledialog.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2017-07-09 22:37:37 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2017-07-09 22:37:37 +0000
commit405c25197312a4236e2903965a8ac7a9976cdde3 (patch)
treecd18de8fa1fb4082146e7fab0333de87c245b135 /src/ui/dialog/styledialog.cpp
parentUpdate Gtk margin handling (diff)
downloadinkscape-405c25197312a4236e2903965a8ac7a9976cdde3.tar.gz
inkscape-405c25197312a4236e2903965a8ac7a9976cdde3.zip
Update GtkDialog usage
Diffstat (limited to 'src/ui/dialog/styledialog.cpp')
-rw-r--r--src/ui/dialog/styledialog.cpp4
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)