Avoid deprecation warnings

The recent round of deprecation additions has caused some
warnings that we should avoid.
This commit is contained in:
Matthias Clasen
2016-11-07 11:23:53 -05:00
parent 4add92a431
commit a61d7f7acf
7 changed files with 20 additions and 0 deletions

View File

@ -2960,7 +2960,9 @@ show_drag_window (GtkNotebook *notebook,
&attributes,
attributes_mask);
gtk_widget_register_window (widget, priv->drag_window);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gdk_window_set_background_rgba (priv->drag_window, &transparent);
G_GNUC_END_IGNORE_DEPRECATIONS
}
gtk_widget_set_child_visible (page->tab_label, FALSE);