[gtksourceview/wip/public-region] region: rename time_stamp -> timestamp
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/public-region] region: rename time_stamp -> timestamp
- Date: Fri, 1 Apr 2016 17:54:10 +0000 (UTC)
commit 392e11e4d6df1d2ea57429ca350b3fd33ab5a92a
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Apr 1 19:45:27 2016 +0200
region: rename time_stamp -> timestamp
gtksourceview/gtksourceregion.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gtksourceview/gtksourceregion.c b/gtksourceview/gtksourceregion.c
index a9d3059..f33cbb5 100644
--- a/gtksourceview/gtksourceregion.c
+++ b/gtksourceview/gtksourceregion.c
@@ -43,7 +43,7 @@ struct _GtkSourceRegion
{
GtkTextBuffer *buffer;
GList *subregions;
- guint32 time_stamp;
+ guint32 timestamp;
};
typedef struct _GtkSourceRegionIterReal GtkSourceRegionIterReal;
@@ -51,7 +51,7 @@ typedef struct _GtkSourceRegionIterReal GtkSourceRegionIterReal;
struct _GtkSourceRegionIterReal
{
GtkSourceRegion *region;
- guint32 region_time_stamp;
+ guint32 region_timestamp;
GList *subregions;
};
@@ -131,7 +131,7 @@ gtk_source_region_new (GtkTextBuffer *buffer)
region = g_slice_new (GtkSourceRegion);
region->subregions = NULL;
- region->time_stamp = 0;
+ region->timestamp = 0;
region->buffer = buffer;
g_object_add_weak_pointer (G_OBJECT (buffer),
@@ -211,7 +211,7 @@ gtk_source_region_clear_zero_length_subregions (GtkSourceRegion *region)
node = g_list_delete_link (node, node);
}
- region->time_stamp++;
+ region->timestamp++;
}
else
{
@@ -326,7 +326,7 @@ gtk_source_region_add (GtkSourceRegion *region,
}
}
- region->time_stamp++;
+ region->timestamp++;
DEBUG (gtk_source_region_debug_print (region));
}
@@ -483,7 +483,7 @@ gtk_source_region_subtract (GtkSourceRegion *region,
}
}
- region->time_stamp++;
+ region->timestamp++;
DEBUG (gtk_source_region_debug_print (region));
@@ -693,7 +693,7 @@ static gboolean
check_iterator (GtkSourceRegionIterReal *real)
{
if ((real->region == NULL) ||
- (real->region_time_stamp != real->region->time_stamp))
+ (real->region_timestamp != real->region->timestamp))
{
g_warning ("Invalid iterator: either the iterator "
"is uninitialized, or the region "
@@ -722,7 +722,7 @@ gtk_source_region_get_region_iter (GtkSourceRegion *region,
real->region = region;
real->subregions = g_list_nth (region->subregions, start);
- real->region_time_stamp = region->time_stamp;
+ real->region_timestamp = region->timestamp;
}
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]