mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +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);
|
styles = GetWindowLongPtr(GDK_WINDOW_HWND (gdk_window), GWL_STYLE);
|
||||||
SetWindowLongPtrW(GDK_WINDOW_HWND (gdk_window), GWL_STYLE, styles | WS_TABSTOP);
|
SetWindowLongPtrW(GDK_WINDOW_HWND (gdk_window), GWL_STYLE, styles | WS_TABSTOP);
|
||||||
|
|
||||||
gtk_widget_style_attach (widget);
|
gtk_style_context_set_background (gtk_widget_get_style_context (widget),
|
||||||
gtk_style_set_background (gtk_widget_get_style (widget), gdk_window, GTK_STATE_NORMAL);
|
gdk_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user