[gnome-photos] tracker-change-monitor: Use meaningful names
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] tracker-change-monitor: Use meaningful names
- Date: Wed, 17 Sep 2014 18:53:35 +0000 (UTC)
commit c2901e65e1948f2fcc4b593e38324cbd9ff211ce
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Sep 17 19:24:20 2014 +0200
tracker-change-monitor: Use meaningful names
src/photos-tracker-change-monitor.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/photos-tracker-change-monitor.c b/src/photos-tracker-change-monitor.c
index 74db7ff..2f9aa90 100644
--- a/src/photos-tracker-change-monitor.c
+++ b/src/photos-tracker-change-monitor.c
@@ -80,10 +80,10 @@ struct _PhotosTrackerChangeMonitorQueryData
struct _TrackerResourcesEvent
{
- gint32 first;
- gint32 second;
- gint32 third;
- gint32 fourth;
+ gint32 graph;
+ gint32 subject;
+ gint32 predicate;
+ gint32 object;
} __attribute__ ((packed));
@@ -282,10 +282,10 @@ photos_tracker_change_monitor_add_pending_event (PhotosTrackerChangeMonitor *sel
if (priv->pending_events_id != 0)
g_source_remove (priv->pending_events_id);
- g_hash_table_insert (priv->unresolved_ids, GINT_TO_POINTER (event->second), NULL);
- g_hash_table_insert (priv->unresolved_ids, GINT_TO_POINTER (event->third), NULL);
+ g_hash_table_insert (priv->unresolved_ids, GINT_TO_POINTER (event->subject), NULL);
+ g_hash_table_insert (priv->unresolved_ids, GINT_TO_POINTER (event->predicate), NULL);
- change_event = photos_tracker_change_event_new (event->second, event->third, is_delete);
+ change_event = photos_tracker_change_event_new (event->subject, event->predicate, is_delete);
g_queue_push_tail (priv->pending_events, change_event);
if (priv->pending_events->length >= CHANGE_MONITOR_MAX_ITEMS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]