[gnote] Replace deprecated get_vbox with get_content_area in NoteRenameDialog



commit 83f56d9d0ca47a3d5f3c09fd4c6baa07e1d17fdd
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Mon May 10 23:01:11 2021 +0300

    Replace deprecated get_vbox with get_content_area in NoteRenameDialog

 src/noterenamedialog.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/noterenamedialog.cpp b/src/noterenamedialog.cpp
index 7ab89089..bc01348f 100644
--- a/src/noterenamedialog.cpp
+++ b/src/noterenamedialog.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2011-2014,2017,2019 Aurimas Cernius
+ * Copyright (C) 2011-2014,2017,2019,2021 Aurimas Cernius
  * Copyright (C) 2010 Debarshi Ray
  *
  * This program is free software: you can redistribute it and/or modify
@@ -140,7 +140,7 @@ NoteRenameDialog::NoteRenameDialog(const NoteBase::List & notes,
   set_default_response(Gtk::RESPONSE_CANCEL);
   set_border_width(10);
 
-  Gtk::Box * const vbox = get_vbox();
+  Gtk::Box *const vbox = get_content_area();
 
   add_action_widget(m_rename_button, Gtk::RESPONSE_YES);
   add_action_widget(m_dont_rename_button, Gtk::RESPONSE_NO);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]