[gnote] Replace deprecated margin_left with margin_start
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Replace deprecated margin_left with margin_start
- Date: Mon, 10 May 2021 20:06:44 +0000 (UTC)
commit 6973cd0bbca3f34135b4093357050b1fd32b8496
Author: Aurimas Černius <aurisc4 gmail com>
Date: Mon May 10 23:03:15 2021 +0300
Replace deprecated margin_left with margin_start
src/notewindow.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/notewindow.cpp b/src/notewindow.cpp
index 5be43198..e60513d4 100644
--- a/src/notewindow.cpp
+++ b/src/notewindow.cpp
@@ -401,13 +401,13 @@ namespace gnote {
text_button->set_image(*image);
text_button->signal_clicked()
.connect(sigc::mem_fun(*this, &NoteWindow::on_text_button_clicked));
- text_button->property_margin_left() = 12;
+ text_button->property_margin_start() = 12;
text_button->show_all();
grid->attach(*text_button, grid_col++, 0, 1, 1);
text_button->set_tooltip_text(_("Set properties of text"));
m_text_menu->set_relative_to(*text_button);
- grid->property_margin_left() = 12;
+ grid->property_margin_start() = 12;
grid->show_all();
return grid;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]