forked from AuroraMiddleware/gtk
Request csd for tooltips
Use the new private GtkWindow api to request client-side decorations for tooltips. https://bugzilla.gnome.org/show_bug.cgi?id=731187
This commit is contained in:
parent
179d6a4c7b
commit
a39985a43e
@ -188,6 +188,7 @@ gtk_tooltip_init (GtkTooltip *tooltip)
|
|||||||
g_signal_connect (window, "hide",
|
g_signal_connect (window, "hide",
|
||||||
G_CALLBACK (gtk_tooltip_window_hide), tooltip);
|
G_CALLBACK (gtk_tooltip_window_hide), tooltip);
|
||||||
|
|
||||||
|
_gtk_window_request_csd (GTK_WINDOW (window));
|
||||||
context = gtk_widget_get_style_context (window);
|
context = gtk_widget_get_style_context (window);
|
||||||
gtk_style_context_add_class (context, GTK_STYLE_CLASS_TOOLTIP);
|
gtk_style_context_add_class (context, GTK_STYLE_CLASS_TOOLTIP);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user