[gtk+/touch-selections] GtkBubbleWindow: use OSD style class



commit 2992461c2a295ad1f04f20fcad39888aaaf513eb
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Mar 5 11:38:05 2013 -0500

    GtkBubbleWindow: use OSD style class

 gtk/gtkbubblewindow.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkbubblewindow.c b/gtk/gtkbubblewindow.c
index f2ef2ec..f468878 100644
--- a/gtk/gtkbubblewindow.c
+++ b/gtk/gtkbubblewindow.c
@@ -94,6 +94,9 @@ _gtk_bubble_window_init (GtkBubbleWindow *window)
 
   if (visual)
     gtk_widget_set_visual (widget, visual);
+
+  gtk_style_context_add_class (gtk_widget_get_style_context (widget),
+                               GTK_STYLE_CLASS_OSD);
 }
 
 static GObject *


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