[gtk+/popovers: 39/45] popover: Do not set GTK_STYLE_CLASS_OSD directly



commit 12f060385743b23fd18bcddcd303de44b7d20aaa
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Jan 14 18:06:38 2014 +0100

    popover: Do not set GTK_STYLE_CLASS_OSD directly
    
    That's up to the caller, popovers are by design not only meant to
    have that role.

 gtk/gtkpopover.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index b8a4c03..02b2fe3 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -90,8 +90,6 @@ gtk_popover_init (GtkPopover *popover)
   widget = GTK_WIDGET (popover);
   gtk_widget_set_has_window (widget, TRUE);
   popover->priv = priv = gtk_popover_get_instance_private (popover);
-  gtk_style_context_add_class (gtk_widget_get_style_context (widget),
-                               GTK_STYLE_CLASS_OSD);
   priv->modal = TRUE;
 }
 


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