forked from AuroraMiddleware/gtk
icon: Add _set_css_name back
This commit is contained in:
parent
d5167eb61c
commit
ed38b1c365
@ -86,3 +86,11 @@ gtk_icon_set_image (GtkIcon *self,
|
||||
{
|
||||
self->image = image;
|
||||
}
|
||||
|
||||
void
|
||||
gtk_icon_set_css_name (GtkIcon *self,
|
||||
const char *css_name)
|
||||
{
|
||||
gtk_css_node_set_name (gtk_widget_get_css_node (GTK_WIDGET (self)),
|
||||
g_intern_string (css_name));
|
||||
}
|
||||
|
@ -53,6 +53,9 @@ GtkWidget * gtk_icon_new (const char *css_name);
|
||||
void gtk_icon_set_image (GtkIcon *self,
|
||||
GtkCssImageBuiltinType image);
|
||||
|
||||
void gtk_icon_set_css_name (GtkIcon *self,
|
||||
const char *css_name);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ICON_PRIVATE_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user