[gtkmm/wip/dboles/builder-nicer-4: 3/4] Builder: Use refBuilder-> not refXml-> in examples
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/wip/dboles/builder-nicer-4: 3/4] Builder: Use refBuilder-> not refXml-> in examples
- Date: Sun, 16 Dec 2018 23:49:41 +0000 (UTC)
commit 696abbfcfa654a2177783dd38a70736a2183fb4b
Author: Daniel Boles <dboles src gnome org>
Date: Sun Dec 16 23:46:26 2018 +0000
Builder: Use refBuilder-> not refXml-> in examples
It's much less clear what refXml is when we could just say refBuilder,
as we already do elsewhere.
gtk/src/builder.hg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/src/builder.hg b/gtk/src/builder.hg
index 264648d1..73028e1f 100644
--- a/gtk/src/builder.hg
+++ b/gtk/src/builder.hg
@@ -445,7 +445,7 @@ public:
* For instance:
* @code
* Gtk::Grid* pGrid = nullptr;
- * refXml->get_widget("mygrid", pGrid);
+ * refBuilder->get_widget("mygrid", pGrid);
* @endcode
* This method prints a warning message to the console if the widget
* doesn't exist or has the wrong type, so you don't need to check that
@@ -485,7 +485,7 @@ public:
*
* For instance:
* @code
- * Gtk::Grid* pGrid = refXml->get_widget("mygrid");
+ * Gtk::Grid* pGrid = refBuilder->get_widget("mygrid");
* @endcode
*
* See get_widget().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]