GNOME Bugzilla – Bug 581989
Get rid of deprecated EggRecent* and Bonobo
Last modified: 2009-05-09 15:44:38 UTC
EggRecent* has become GtkRecent* and been merged in GTK+ 2.10. Please remove this ancient code. $:andre\> grep -r onobo . ./libegg/recent-files/egg-recent-view-bonobo.c:#include <libbonoboui.h> ./libegg/recent-files/egg-recent-view-bonobo.c:#include "egg-recent-view-bonobo.h" ./libegg/recent-files/egg-recent-view-bonobo.c:struct _EggRecentViewBonobo { ./libegg/recent-files/egg-recent-view-bonobo.c: BonoboUIComponent *uic; ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonoboTooltipFunc tooltip_func; ./libegg/recent-files/egg-recent-view-bonobo.c:struct _EggRecentViewBonoboMenuData { ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonobo *view; ./libegg/recent-files/egg-recent-view-bonobo.c:typedef struct _EggRecentViewBonoboMenuData EggRecentViewBonoboMenuData; ./libegg/recent-files/egg-recent-view-bonobo.c:static guint egg_recent_view_bonobo_signals[LAST_SIGNAL] = { 0 }; ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_clear (EggRecentViewBonobo *view) ./libegg/recent-files/egg-recent-view-bonobo.c: if (bonobo_ui_component_path_exists (view->uic, item_path, NULL)) ./libegg/recent-files/egg-recent-view-bonobo.c: bonobo_ui_component_rm (view->uic, item_path, NULL); ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_menu_cb (BonoboUIComponent *uic, gpointer data, const char *cname) ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonoboMenuData *md = (EggRecentViewBonoboMenuData *) data; ./libegg/recent-files/egg-recent-view-bonobo.c: egg_recent_view_bonobo_signals[ACTIVATE], 0, ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_menu_data_destroy_cb (gpointer data, GClosure *closure) ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonoboMenuData *md = data; ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_set_list (EggRecentViewBonobo *view, GList *list) ./libegg/recent-files/egg-recent-view-bonobo.c: BonoboUIComponent* ui_component; ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonoboMenuData *md; ./libegg/recent-files/egg-recent-view-bonobo.c: egg_recent_view_bonobo_clear (view); ./libegg/recent-files/egg-recent-view-bonobo.c: bonobo_ui_component_freeze (ui_component, NULL); ./libegg/recent-files/egg-recent-view-bonobo.c: md = (EggRecentViewBonoboMenuData *)g_malloc (sizeof (EggRecentViewBonoboMenuData)); ./libegg/recent-files/egg-recent-view-bonobo.c: pixbuf_xml = bonobo_ui_util_pixbuf_to_xml (pixbuf); ./libegg/recent-files/egg-recent-view-bonobo.c: bonobo_ui_component_set_translate (ui_component, "/commands/", cmd, NULL); ./libegg/recent-files/egg-recent-view-bonobo.c: closure = g_cclosure_new (G_CALLBACK (egg_recent_view_bonobo_menu_cb), ./libegg/recent-files/egg-recent-view-bonobo.c: md, egg_recent_view_bonobo_menu_data_destroy_cb); ./libegg/recent-files/egg-recent-view-bonobo.c: bonobo_ui_component_add_verb_full (ui_component, verb_name, ./libegg/recent-files/egg-recent-view-bonobo.c: if (bonobo_ui_component_path_exists (ui_component, item_path, NULL)) ./libegg/recent-files/egg-recent-view-bonobo.c: bonobo_ui_component_set_prop (ui_component, item_path, ./libegg/recent-files/egg-recent-view-bonobo.c: bonobo_ui_component_set_prop (ui_component, item_path, ./libegg/recent-files/egg-recent-view-bonobo.c: bonobo_ui_component_set_translate (ui_component, view->path, xml, NULL); ./libegg/recent-files/egg-recent-view-bonobo.c: bonobo_ui_component_thaw (ui_component, NULL); ./libegg/recent-files/egg-recent-view-bonobo.c:model_changed_cb (EggRecentModel *model, GList *list, EggRecentViewBonobo *view) ./libegg/recent-files/egg-recent-view-bonobo.c: egg_recent_view_bonobo_set_list (view, list); ./libegg/recent-files/egg-recent-view-bonobo.c: egg_recent_view_bonobo_clear (view); ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_get_model (EggRecentView *view_parent) ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonobo *view; ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_set_model (EggRecentView *view_parent, EggRecentModel *model) ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonobo *view; ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_set_property (GObject *object, ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonobo *view = EGG_RECENT_VIEW_BONOBO (object); ./libegg/recent-files/egg-recent-view-bonobo.c: egg_recent_view_bonobo_set_ui_component (EGG_RECENT_VIEW_BONOBO (view), ./libegg/recent-files/egg-recent-view-bonobo.c: egg_recent_view_bonobo_show_icons (view, ./libegg/recent-files/egg-recent-view-bonobo.c: egg_recent_view_bonobo_show_numbers (view, ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_get_property (GObject *object, ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonobo *view = EGG_RECENT_VIEW_BONOBO (object); ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_finalize (GObject *object) ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonobo *view = EGG_RECENT_VIEW_BONOBO (object); ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_class_init (EggRecentViewBonoboClass * klass) ./libegg/recent-files/egg-recent-view-bonobo.c: object_class->set_property = egg_recent_view_bonobo_set_property; ./libegg/recent-files/egg-recent-view-bonobo.c: object_class->get_property = egg_recent_view_bonobo_get_property; ./libegg/recent-files/egg-recent-view-bonobo.c: object_class->finalize = egg_recent_view_bonobo_finalize; ./libegg/recent-files/egg-recent-view-bonobo.c: egg_recent_view_bonobo_signals[ACTIVATE] = g_signal_new ("activate", ./libegg/recent-files/egg-recent-view-bonobo.c: G_STRUCT_OFFSET (EggRecentViewBonoboClass, activate), ./libegg/recent-files/egg-recent-view-bonobo.c: "BonoboUIComponent for menus.", ./libegg/recent-files/egg-recent-view-bonobo.c: bonobo_ui_component_get_type(), ./libegg/recent-files/egg-recent-view-bonobo.c: iface->do_get_model = egg_recent_view_bonobo_get_model; ./libegg/recent-files/egg-recent-view-bonobo.c: iface->do_set_model = egg_recent_view_bonobo_set_model; ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonobo *view) ./libegg/recent-files/egg-recent-view-bonobo.c: egg_recent_view_bonobo_show_icons (view, ./libegg/recent-files/egg-recent-view-bonobo.c:theme_changed_cb (GnomeIconTheme *theme, EggRecentViewBonobo *view) ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_init (EggRecentViewBonobo *view) ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_set_icon_size (EggRecentViewBonobo *view, ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_get_icon_size (EggRecentViewBonobo *view) ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_show_icons (EggRecentViewBonobo *view, gboolean show) ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_show_numbers (EggRecentViewBonobo *view, gboolean show) ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_set_ui_component (EggRecentViewBonobo *view, BonoboUIComponent *uic) ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_set_ui_path (EggRecentViewBonobo *view, const gchar *path) ./libegg/recent-files/egg-recent-view-bonobo.c:const BonoboUIComponent * ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_get_ui_component (EggRecentViewBonobo *view) ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_get_ui_path (EggRecentViewBonobo *view) ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_set_tooltip_func (EggRecentViewBonobo *view, ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonoboTooltipFunc func, ./libegg/recent-files/egg-recent-view-bonobo.c: * egg_recent_view_bonobo_new: ./libegg/recent-files/egg-recent-view-bonobo.c: * This creates a new EggRecentViewBonobo object. ./libegg/recent-files/egg-recent-view-bonobo.c: * Returns: a EggRecentViewBonobo object ./libegg/recent-files/egg-recent-view-bonobo.c:EggRecentViewBonobo * ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_new (BonoboUIComponent *uic, const gchar *path) ./libegg/recent-files/egg-recent-view-bonobo.c: EggRecentViewBonobo *view; ./libegg/recent-files/egg-recent-view-bonobo.c: view = EGG_RECENT_VIEW_BONOBO (g_object_new (egg_recent_view_bonobo_get_type (), ./libegg/recent-files/egg-recent-view-bonobo.c: * egg_recent_view_bonobo_get_type: ./libegg/recent-files/egg-recent-view-bonobo.c: * This returns a GType representing a EggRecentViewBonobo object. ./libegg/recent-files/egg-recent-view-bonobo.c:egg_recent_view_bonobo_get_type (void) ./libegg/recent-files/egg-recent-view-bonobo.c: static GType egg_recent_view_bonobo_type = 0; ./libegg/recent-files/egg-recent-view-bonobo.c: if(!egg_recent_view_bonobo_type) { ./libegg/recent-files/egg-recent-view-bonobo.c: static const GTypeInfo egg_recent_view_bonobo_info = { ./libegg/recent-files/egg-recent-view-bonobo.c: sizeof (EggRecentViewBonoboClass), ./libegg/recent-files/egg-recent-view-bonobo.c: (GClassInitFunc)egg_recent_view_bonobo_class_init, /* class init */ ./libegg/recent-files/egg-recent-view-bonobo.c: sizeof (EggRecentViewBonobo), ./libegg/recent-files/egg-recent-view-bonobo.c: (GInstanceInitFunc) egg_recent_view_bonobo_init ./libegg/recent-files/egg-recent-view-bonobo.c: egg_recent_view_bonobo_type = g_type_register_static (G_TYPE_OBJECT, ./libegg/recent-files/egg-recent-view-bonobo.c: "EggRecentViewBonobo", ./libegg/recent-files/egg-recent-view-bonobo.c: &egg_recent_view_bonobo_info, 0); ./libegg/recent-files/egg-recent-view-bonobo.c: g_type_add_interface_static (egg_recent_view_bonobo_type, ./libegg/recent-files/egg-recent-view-bonobo.c: return egg_recent_view_bonobo_type; ./libegg/recent-files/egg-recent.h:#include "egg-recent-view-bonobo.h" ./libegg/recent-files/egg-recent-view-bonobo.h:#include <libbonoboui.h> ./libegg/recent-files/egg-recent-view-bonobo.h:#define EGG_RECENT_VIEW_BONOBO(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, egg_recent_view_bonobo_get_type (), EggRecentViewBonobo) ./libegg/recent-files/egg-recent-view-bonobo.h:#define EGG_RECENT_VIEW_BONOBO_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, egg_recent_view_bonobo_get_type (), EggRecentViewBonoboClass) ./libegg/recent-files/egg-recent-view-bonobo.h:#define EGG_IS_RECENT_VIEW_BONOBO(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, egg_recent_view_bonobo_get_type ()) ./libegg/recent-files/egg-recent-view-bonobo.h:typedef char *(*EggRecentViewBonoboTooltipFunc) (EggRecentItem *item, ./libegg/recent-files/egg-recent-view-bonobo.h:typedef struct _EggRecentViewBonobo EggRecentViewBonobo; ./libegg/recent-files/egg-recent-view-bonobo.h:typedef struct _EggRecentViewBonoboClass EggRecentViewBonoboClass; ./libegg/recent-files/egg-recent-view-bonobo.h:struct _EggRecentViewBonoboClass { ./libegg/recent-files/egg-recent-view-bonobo.h: void (*activate) (EggRecentViewBonobo *view, EggRecentItem *item); ./libegg/recent-files/egg-recent-view-bonobo.h:GType egg_recent_view_bonobo_get_type (void); ./libegg/recent-files/egg-recent-view-bonobo.h:EggRecentViewBonobo * egg_recent_view_bonobo_new (BonoboUIComponent *uic, ./libegg/recent-files/egg-recent-view-bonobo.h:void egg_recent_view_bonobo_set_ui_component (EggRecentViewBonobo *view, ./libegg/recent-files/egg-recent-view-bonobo.h: BonoboUIComponent *uic); ./libegg/recent-files/egg-recent-view-bonobo.h:void egg_recent_view_bonobo_set_ui_path (EggRecentViewBonobo *view, ./libegg/recent-files/egg-recent-view-bonobo.h:gchar * egg_recent_view_bonobo_get_ui_path (EggRecentViewBonobo *view); ./libegg/recent-files/egg-recent-view-bonobo.h:const BonoboUIComponent *egg_recent_view_bonobo_get_ui_component (EggRecentViewBonobo *view); ./libegg/recent-files/egg-recent-view-bonobo.h:void egg_recent_view_bonobo_show_icons (EggRecentViewBonobo *view, ./libegg/recent-files/egg-recent-view-bonobo.h:void egg_recent_view_bonobo_show_numbers (EggRecentViewBonobo *view, ./libegg/recent-files/egg-recent-view-bonobo.h:void egg_recent_view_bonobo_set_tooltip_func (EggRecentViewBonobo *view, ./libegg/recent-files/egg-recent-view-bonobo.h: EggRecentViewBonoboTooltipFunc func, ./libegg/recent-files/egg-recent-view-bonobo.h:void egg_recent_view_bonobo_set_icon_size (EggRecentViewBonobo *view, ./libegg/recent-files/egg-recent-view-bonobo.h:GtkIconSize egg_recent_view_bonobo_get_icon_size (EggRecentViewBonobo *view); ./docs/install-guide/C/planner-install-guide.xml: libbonoboui-2.0 >= 2.6.0 ./docs/getting-started-hacking.xml: <entry>libbonoboui</entry>
*** This bug has been marked as a duplicate of 349304 ***