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 568892 - don't rely on GtkAction implementation details
don't rely on GtkAction implementation details
Status: RESOLVED FIXED
Product: gtranslator
Classification: Other
Component: general
HEAD
Other Linux
: Normal major
: 2.0
Assigned To: gtranslator-maint
gtranslator-maint
Depends on:
Blocks: 568886
 
 
Reported: 2009-01-23 18:26 UTC by Christian Persch
Modified: 2009-02-07 10:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2009-01-23 18:26:59 UTC
./src/window.c:	action = g_object_get_data (G_OBJECT (proxy),  "gtk-action");

./src/toolbareditor/egg-editable-toolbar.c:  action = g_object_get_data (G_OBJECT (widget), "gtk-action");
./src/toolbareditor/egg-editable-toolbar.c:      action = g_object_get_data (G_OBJECT (widget), "gtk-action");
./src/toolbareditor/egg-editable-toolbar.c:					 "gtk-action");

libegg trunk is fixed, so for the egg files you just need to reimport.

+++ This bug was initially created as a clone of Bug #568886 +++

From epiphany bug 568848:

While testing some GtkAction changes in GTK+ trunk, I've found that epiphany
uses
g_object_get_data (widget, "gtk-action") to get at the action associated with a
widget in some places. 

Please don't do that. We consider that undocumented object data an
implementation detail, and it will go away at some point. Instead, use the
documented api  for this: gtk_widget_get_action.

This bugs tracks this problem in the affected modules.
Comment 1 Pablo Sanxiao 2009-02-07 10:33:08 UTC
This should be fixed in the trunk version. It will be available in the next software release.