Commit 41389cb4 authored by Carlos Garnacho's avatar Carlos Garnacho

Make GtkWin32EmbedWidget use GtkStyleContext

parent 665a94e0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment