vcl/unx/gtk3/gtk3gtkinst.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit c69c90469b2bf017e8a6fdddc395266044eba755
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Jun 4 11:00:39 2020 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Jun 5 09:36:17 2020 +0200

    update the CellRenderer comment
    
    Change-Id: I537d123f1c127301d66de06c8cac76f8fe7427c7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95535
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index fe4d84a7397d..396ed5b71645 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -9545,10 +9545,10 @@ private:
         return m_aViewColToModelCol[viewcol];
     }
 
-    // We allow only one CellRenderer per TreeViewColumn except for the first
-    // TreeViewColumn which can have two, where the first CellRenderer is
-    // either an expander image. From outside the second CellRenderer is
-    // considered index 0 in the model and the expander as -1
+    // The outside concept of a column maps to a gtk CellRenderer, rather than
+    // a TreeViewColumn. If the first TreeViewColumn has two CellRenderers, and
+    // the first CellRenderer is an image, that CellRenderer is considered to
+    // be index -1.
     int to_external_model(int modelcol) const
     {
         if (m_nExpanderImageCol == -1)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to