static gboolean reload_icon_sources_idle (GladeEditorProperty * eprop) { GladeProperty *property = glade_editor_property_get_property (eprop); glade_editor_property_load (eprop, property); return FALSE; }
static gboolean update_and_focus_data_tree_idle (GladeEditorProperty * eprop) { GladeEPropModelData *eprop_data = GLADE_EPROP_MODEL_DATA (eprop); GladeProperty *property = glade_editor_property_get_property (eprop); eprop_data->want_focus = TRUE; update_data_tree_idle (eprop); /* XXX Have to load it regardless if it changed, this is a slow and redundant way... */ glade_editor_property_load (eprop, property); eprop_data->want_focus = FALSE; return FALSE; }