[libhandy] preferences-group: Update some of the comments



commit b65f83a389b32b3f3c6d6225bd20293bee37e8a8
Author: Yetizone <andreii lisita gmail com>
Date:   Fri Dec 18 16:31:07 2020 +0200

    preferences-group: Update some of the comments

 src/hdy-preferences-group.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/hdy-preferences-group.c b/src/hdy-preferences-group.c
index 1e4edfb6..92f4e1ff 100644
--- a/src/hdy-preferences-group.c
+++ b/src/hdy-preferences-group.c
@@ -55,10 +55,6 @@ update_title_visibility (HdyPreferencesGroup *self)
 {
   HdyPreferencesGroupPrivate *priv = hdy_preferences_group_get_instance_private (self);
 
-  /* Show the listbox only if it has children to avoid having showing the
-   * listbox as an empty frame, parasiting the look of non-GtkListBoxRow
-   * children.
-   */
   gtk_widget_set_visible (GTK_WIDGET (priv->title),
                           gtk_label_get_text (priv->title) != NULL &&
                           g_strcmp0 (gtk_label_get_text (priv->title), "") != 0);
@@ -80,7 +76,7 @@ update_listbox_visibility (HdyPreferencesGroup *self)
   HdyPreferencesGroupPrivate *priv = hdy_preferences_group_get_instance_private (self);
   g_autoptr(GList) children = NULL;
 
-  /* We must wait until listob has been built and added. */
+  /* We must wait until the listbox has been built and added. */
   if (priv->listbox == NULL)
     return;
 


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