[gtk/doc-fixes: 3/4] Remove incorrect rename-to annotations



commit 5e099e26065dbaa3ff994668b5a1a3b9994b535d
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Mar 3 13:13:26 2020 +0000

    Remove incorrect rename-to annotations
    
    The `rename-to` annotation is used to "shadow" a symbol with another
    one, which means both symbols need to exist. It can't be used to rename
    a symbol to something else.

 gtk/gtkwidget.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 0a28d8385d..fe3277fd3e 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -10952,7 +10952,7 @@ _gtk_widget_remove_attached_window (GtkWidget    *widget,
 }
 
 /**
- * gtk_widget_class_set_css_name: (rename-to gtk_widget_class_set_class_css_name)
+ * gtk_widget_class_set_css_name:
  * @widget_class: class to set the name on
  * @name: name to use
  *
@@ -10982,7 +10982,7 @@ gtk_widget_class_get_visible_by_default (GtkWidgetClass *widget_class)
 }
 
 /**
- * gtk_widget_class_get_css_name: (rename-to gtk_widget_class_get_class_css_name)
+ * gtk_widget_class_get_css_name:
  * @widget_class: class to set the name on
  *
  * Gets the name used by this class for matching in CSS code. See


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]