Add some api annotations

Nothing is using the /*interned*/ annotations currently,
but if we are doing this, we should be consistent.
This commit is contained in:
Matthias Clasen 2015-10-26 23:35:22 -04:00
parent a648afae12
commit b7d001e613
2 changed files with 5 additions and 5 deletions

View File

@ -1052,8 +1052,8 @@ gtk_css_node_get_widget_type (GtkCssNode *cssnode)
}
void
gtk_css_node_set_id (GtkCssNode *cssnode,
const char *id)
gtk_css_node_set_id (GtkCssNode *cssnode,
/* interned */ const char *id)
{
if (gtk_css_node_declaration_set_id (&cssnode->decl, id))
{
@ -1062,7 +1062,7 @@ gtk_css_node_set_id (GtkCssNode *cssnode,
}
}
const char *
/* interned */ const char *
gtk_css_node_get_id (GtkCssNode *cssnode)
{
return gtk_css_node_declaration_get_id (cssnode->decl);

View File

@ -122,8 +122,8 @@ void gtk_css_node_set_widget_type (GtkCssNode *
GType widget_type);
GType gtk_css_node_get_widget_type (GtkCssNode *cssnode);
void gtk_css_node_set_id (GtkCssNode *cssnode,
const char *id);
const char * gtk_css_node_get_id (GtkCssNode *cssnode);
/*interned*/const char*id);
/*interned*/const char *gtk_css_node_get_id (GtkCssNode *cssnode);
void gtk_css_node_set_state (GtkCssNode *cssnode,
GtkStateFlags state_flags);
GtkStateFlags gtk_css_node_get_state (GtkCssNode *cssnode);