[gnome-photos/wip/rishi/keyboard-activation: 1/4] overview-searchbar: Remove 'raised' style class



commit 3d166ff03c7df1aaabf2aed1d36742b817e9afec
Author: Alessandro Bono <abono gnome org>
Date:   Tue Apr 12 20:57:27 2016 +0200

    overview-searchbar: Remove 'raised' style class
    
    It is a NOP in current Adwaita.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=765340

 src/photos-overview-searchbar.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-overview-searchbar.c b/src/photos-overview-searchbar.c
index 5cada02..c3c2419 100644
--- a/src/photos-overview-searchbar.c
+++ b/src/photos-overview-searchbar.c
@@ -226,8 +226,6 @@ photos_overview_searchbar_create_search_widgets (PhotosSearchbar *searchbar)
   image = gtk_image_new_from_icon_name (PHOTOS_ICON_GO_DOWN_SYMBOLIC, GTK_ICON_SIZE_BUTTON);
   self->dropdown_button = gtk_toggle_button_new ();
   gtk_button_set_image (GTK_BUTTON (self->dropdown_button), image);
-  context = gtk_widget_get_style_context (self->dropdown_button);
-  gtk_style_context_add_class (context, "raised");
   g_signal_connect_swapped (self->dropdown_button, "toggled", G_CALLBACK 
(photos_overview_searchbar_toggled), self);
 
   self->dropdown = photos_dropdown_new (GTK_WIDGET (self->dropdown_button));


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