summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2016-02-06 05:23:32 +0100
committerBenjamin Otte <otte@redhat.com>2016-02-11 03:44:47 +0100
commitccbfa64d6793d244bf9fac4aea33c462f5a1bdbe (patch)
tree8e13a0158be1069d5d9578b58667f71ac69d9b2f /gtk
parentccc7e3058cc39fd971830e8413c29ed2dfec1f0a (diff)
downloadgtk+-ccbfa64d6793d244bf9fac4aea33c462f5a1bdbe.tar.gz
win32embedwidget: Mark deprecated sections
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkwin32embedwidget.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkwin32embedwidget.c b/gtk/gtkwin32embedwidget.c
index 51b973248a..c4e6aff897 100644
--- a/gtk/gtkwin32embedwidget.c
+++ b/gtk/gtkwin32embedwidget.c
@@ -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