Commit ccbfa64d authored by Benjamin Otte's avatar Benjamin Otte Committed by Benjamin Otte

win32embedwidget: Mark deprecated sections

parent ccc7e305
......@@ -82,7 +82,9 @@ static void
gtk_win32_embed_widget_init (GtkWin32EmbedWidget *embed_widget)
{
_gtk_widget_set_is_toplevel (GTK_WIDGET (embed_widget), TRUE);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
gtk_container_set_resize_mode (GTK_CONTAINER (embed_widget), GTK_RESIZE_QUEUE);
G_GNUC_END_IGNORE_DEPRECATIONS;
}
GtkWidget*
......@@ -236,8 +238,10 @@ 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);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
gtk_style_context_set_background (gtk_widget_get_style_context (widget),
gdk_window);
G_GNUC_END_IGNORE_DEPRECATIONS;
}
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