GTK 4 (3.99.2): gtk_buildable_get_name () is gone

gtk_buildable_get_name() is gone from GTK 3.99.2. Should I replace it with gtk_buildable_get_buildable_id() ?

I mean: is it just the name of the function that was changed? Or is there a more subtle change?

No, the implementation is the same.

The new name reflects the fact that the returned value is the contents of the “id” attribute in the UI description file, and it avoids the name collision with gtk_widget_get_name().

1 Like

Thanks @ebassi for your fast answer!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.