Commit b7d001e6 authored by Matthias Clasen's avatar Matthias Clasen

Add some api annotations

Nothing is using the /*interned*/ annotations currently,
but if we are doing this, we should be consistent.
parent a648afae
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment