After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 610434 - Goffice should use gtk_buildable_get_name instead of gtk_widget_get_name
Goffice should use gtk_buildable_get_name instead of gtk_widget_get_name
Status: RESOLVED OBSOLETE
Product: libgoffice
Classification: Other
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2010-02-19 09:27 UTC by Emmanuel Pacaud
Modified: 2010-02-19 10:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtk_buildable_get_name patch (3.74 KB, patch)
2010-02-19 09:27 UTC, Emmanuel Pacaud
rejected Details | Review

Description Emmanuel Pacaud 2010-02-19 09:27:09 UTC
Created attachment 154189 [details] [review]
gtk_buildable_get_name patch

Since gtk 2.19.2, gtk_builder doesn't store the widget name using gtk_widget_set_name, but as a gobject data:

http://git.gnome.org/browse/gtk+/commit ?id=46f5ee1d0c0f4601853ed57e99b1b513f1baa445

So for all widget created from ui files, we need to use gtk_buildable_get_name instead of gtk_widget_get_name.

Here's a patch implementing this change.