[gnome-photos] dropdown: Remove redundant function call



commit 673d49f47a0abfa5b26de7f0a17c3c0491cb7494
Author: Alessandro Bono <abono gnome org>
Date:   Sat Mar 25 11:56:03 2017 +0100

    dropdown: Remove redundant function call
    
    "Hiding" Dropdown itself during construction stopped making any sense
    when we ported it from GtkRevealer to GtkPopopver in commit
    ad0bab7c194f21b09b4d711a0aa2d9e3a68997b2. It was eventually removed
    from the corresponding gnome-documents code when Dropdown was further
    ported to GMenuModel. We forgot to do that in gnome-photos commit
    c8d6651218c1419c776e2b9d00e1203d3f46787f.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780424

 src/photos-dropdown.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-dropdown.c b/src/photos-dropdown.c
index 386a6f4..77fa0d5 100644
--- a/src/photos-dropdown.c
+++ b/src/photos-dropdown.c
@@ -120,7 +120,6 @@ photos_dropdown_init (PhotosDropdown *self)
 
   context = gtk_widget_get_style_context (GTK_WIDGET (self));
   gtk_style_context_add_class (context, "photos-dropdown");
-  gtk_widget_hide (GTK_WIDGET(self));
   gtk_widget_show_all (GTK_WIDGET (self->grid));
 }
 


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