forked from AuroraMiddleware/gtk
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:
parent
a648afae12
commit
b7d001e613
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user