Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
E
evolution-data-server
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 36
    • Issues 36
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • evolution-data-server
  • Issues
  • #119

Closed
Open
Opened May 21, 2019 by Zippy Zebu@zippyzebu

Object oriented structure being deprecated ?

Before libecal-2.0 port it was

const EReminderData *rd;

/* some method to get rd /*

id = e_cal_component_get_id (rd->component);
g_print ("Summary: %s source_uid: %s id: %s alarm_uid: %s",
         icalcomponent_get_summary (e_cal_component_get_icalcomponent (rd->component)),
         rd->source_uid, id->uid, rd->instance.auid);

But now,

const EReminderData *rd;

/* some method to get rd /*

id = e_cal_component_get_id (e_reminder_data_get_component (rd));
g_print ("Summary: %s source_uid: %s uid: %s alarm_uid: %s",
         i_cal_component_get_summary (e_cal_component_get_icalcomponent (e_reminder_data_get_component (rd))),
         e_reminder_data_get_source_uid (rd),
         e_cal_component_id_get_uid (id),
         e_cal_component_alarm_instance_get_uid (e_reminder_data_get_instance (rd)));

Lot more code to write & looks somewhat noisy.

Edited May 21, 2019 by Zippy Zebu
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/evolution-data-server#119