[libgd/wip/ernestask/gtk4: 11/33] main-icon-box-child: remove calls to gtk_set_no_show_all()



commit b5047dce51224c70ec24e065ae5bcc16ff2a6583
Author: Ernestas Kulik <ernestask gnome org>
Date:   Tue Mar 6 19:42:57 2018 +0200

    main-icon-box-child: remove calls to gtk_set_no_show_all()

 libgd/gd-main-icon-box-child.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/libgd/gd-main-icon-box-child.c b/libgd/gd-main-icon-box-child.c
index fd5b7f9..c151981 100644
--- a/libgd/gd-main-icon-box-child.c
+++ b/libgd/gd-main-icon-box-child.c
@@ -124,7 +124,6 @@ gd_main_icon_box_child_update_layout (GdMainIconBoxChild *self)
   gtk_widget_set_can_focus (priv->check_button, FALSE);
   gtk_widget_set_halign (priv->check_button, GTK_ALIGN_END);
   gtk_widget_set_valign (priv->check_button, GTK_ALIGN_END);
-  gtk_widget_set_no_show_all (priv->check_button, TRUE);
   g_object_bind_property (self, "selection-mode", priv->check_button, "visible", G_BINDING_SYNC_CREATE);
   gtk_overlay_add_overlay (GTK_OVERLAY (overlay), priv->check_button);
   g_signal_connect_swapped (priv->check_button,
@@ -137,7 +136,6 @@ gd_main_icon_box_child_update_layout (GdMainIconBoxChild *self)
       GtkWidget *primary_label;
 
       primary_label = gtk_label_new (NULL);
-      gtk_widget_set_no_show_all (primary_label, TRUE);
       gtk_label_set_ellipsize (GTK_LABEL (primary_label), PANGO_ELLIPSIZE_MIDDLE);
       g_object_bind_property (priv->item, "primary-text", primary_label, "label", G_BINDING_SYNC_CREATE);
       g_object_bind_property_full (priv->item,
@@ -158,7 +156,6 @@ gd_main_icon_box_child_update_layout (GdMainIconBoxChild *self)
       GtkWidget *secondary_label;
 
       secondary_label = gtk_label_new (NULL);
-      gtk_widget_set_no_show_all (secondary_label, TRUE);
       gtk_label_set_ellipsize (GTK_LABEL (secondary_label), PANGO_ELLIPSIZE_END);
       context = gtk_widget_get_style_context (secondary_label);
       gtk_style_context_add_class (context, "dim-label");


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