widget: Slightly update opacity docs

This commit is contained in:
Timm Bäder 2020-10-11 10:17:18 +02:00 committed by Matthias Clasen
parent 07fb33c033
commit ec8f329332

View File

@ -1250,8 +1250,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
*
* The requested opacity of the widget. See gtk_widget_set_opacity() for
* more details about window opacity.
*
* Before 3.8 this was only available in GtkWindow
*/
widget_props[PROP_OPACITY] =
g_param_spec_double ("opacity",
@ -9647,8 +9645,6 @@ gtk_widget_get_allocated_baseline (GtkWidget *widget)
* running. See gdk_display_is_composited(). On Windows it should work
* always, although setting a windows opacity after the window has been
* shown causes it to flicker once on Windows.
*
* For child widgets it doesnt work if any affected widget has a native window.
**/
void
gtk_widget_set_opacity (GtkWidget *widget,