[gnote] Replace get_vbox -> get_content_area
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Replace get_vbox -> get_content_area
- Date: Sat, 15 May 2021 15:59:03 +0000 (UTC)
commit 2ea602c61071b6e6e4dd6a23ac2147915e3358fc
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat May 15 18:56:15 2021 +0300
Replace get_vbox -> get_content_area
src/synchronization/syncdialog.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/synchronization/syncdialog.cpp b/src/synchronization/syncdialog.cpp
index dfae3542..2f1c3018 100644
--- a/src/synchronization/syncdialog.cpp
+++ b/src/synchronization/syncdialog.cpp
@@ -107,7 +107,7 @@ public:
hbox->show();
outerVBox->attach(*hbox, 0, 0, 1, 1);
- get_vbox()->pack_start(*outerVBox);
+ get_content_area()->pack_start(*outerVBox);
Gtk::Grid *renameHBox = manage(new Gtk::Grid);
renameRadio = manage(new Gtk::RadioButton(m_radio_group, _("Rename local note:")));
@@ -121,7 +121,7 @@ public:
renameOptionsVBox->attach(*renameEntry, 0, 0, 1, 1);
renameHBox->attach(*renameRadio, 0, 0, 1, 1);
renameHBox->attach(*renameOptionsVBox, 1, 0, 1, 1);
- get_vbox()->pack_start(*renameHBox);
+ get_content_area()->pack_start(*renameHBox);
deleteExistingRadio = manage(new Gtk::RadioButton(m_radio_group, _("Overwrite local note")));
deleteExistingRadio->signal_toggled().connect(sigc::mem_fun(*this,
&SyncTitleConflictDialog::radio_toggled));
@@ -236,7 +236,7 @@ SyncDialog::SyncDialog(IGnote & g, NoteManagerBase & manager)
outerVBox->set_border_width(6);
outerVBox->show();
int outerVBoxRow = 0;
- get_vbox()->pack_start(*outerVBox, true, true, 0);
+ get_content_area()->pack_start(*outerVBox, true, true, 0);
// Top image and label
Gtk::Grid *hbox = manage(new Gtk::Grid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]