mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Make GtkWin32EmbedWidget use GtkStyleContext
This commit is contained in:
parent
665a94e0f3
commit
41389cb435
@ -245,8 +245,8 @@ gtk_win32_embed_widget_realize (GtkWidget *widget)
|
||||
styles = GetWindowLongPtr(GDK_WINDOW_HWND (gdk_window), GWL_STYLE);
|
||||
SetWindowLongPtrW(GDK_WINDOW_HWND (gdk_window), GWL_STYLE, styles | WS_TABSTOP);
|
||||
|
||||
gtk_widget_style_attach (widget);
|
||||
gtk_style_set_background (gtk_widget_get_style (widget), gdk_window, GTK_STATE_NORMAL);
|
||||
gtk_style_context_set_background (gtk_widget_get_style_context (widget),
|
||||
gdk_window);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user