Since GTK 3.19.12, GtkComboBox has an intermediate GtkBox internal child wrapping the inner GtkEntry. To get the entry, gtk_bin_get_child()
still works as it is part of the API, but the
change breaks the assumption we had that it works the other way around, that gtk_widget_get_parent(gtk_bin_get_child(combobox)) == combobox
. So, while this assumption seemed reasonable, stop relying on it as it is effectively not correct on GTK 3.20 and newer.
See: https://git.gnome.org/browse/gtk+/commit/?id=222c43fc60362eeb97ce2d5e3a5583a69a2e30ef
https://github.com/geany/geany/pull/1404
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.