[gspell/gspell-1-0] region: change GTK-Doc comments into normal comments
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell/gspell-1-0] region: change GTK-Doc comments into normal comments
- Date: Sat, 9 Jul 2016 13:29:13 +0000 (UTC)
commit 55cde4e3051a0e242a9e2734ea657073d3696f21
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Apr 6 12:10:19 2016 +0200
region: change GTK-Doc comments into normal comments
Because there was a warning when compiling the docs.
gspell/gspellregion.c | 28 ++++++++++++++--------------
gspell/gspellregion.h | 2 +-
gspell/update-sourceregion.sh | 1 +
3 files changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/gspell/gspellregion.c b/gspell/gspellregion.c
index 3b41f30..bc2c852 100644
--- a/gspell/gspellregion.c
+++ b/gspell/gspellregion.c
@@ -24,7 +24,7 @@
#include "gspellregion.h"
-/**
+/*
* SECTION:region
* @Short_description: Region utility
* @Title: GspellRegion
@@ -298,7 +298,7 @@ _gspell_region_class_init (GspellRegionClass *klass)
object_class->set_property = _gspell_region_set_property;
object_class->dispose = _gspell_region_dispose;
- /**
+ /*
* GspellRegion:buffer:
*
* The #GtkTextBuffer. The #GspellRegion has a weak reference to the
@@ -323,7 +323,7 @@ _gspell_region_init (GspellRegion *region)
{
}
-/**
+/*
* _gspell_region_new:
* @buffer: a #GtkTextBuffer.
*
@@ -340,7 +340,7 @@ _gspell_region_new (GtkTextBuffer *buffer)
NULL);
}
-/**
+/*
* _gspell_region_get_buffer:
* @region: a #GspellRegion.
*
@@ -398,7 +398,7 @@ _gspell_region_clear_zero_length_subregions (GspellRegion *region)
}
}
-/**
+/*
* _gspell_region_add:
* @region: a #GspellRegion.
* @_start: the start of the subregion.
@@ -522,7 +522,7 @@ _gspell_region_add (GspellRegion *region,
DEBUG (print_region (region));
}
-/**
+/*
* _gspell_region_subtract:
* @region: a #GspellRegion.
* @_start: the start of the subregion.
@@ -696,7 +696,7 @@ _gspell_region_subtract (GspellRegion *region,
DEBUG (print_region (region));
}
-/**
+/*
* _gspell_region_is_empty:
* @region: (nullable): a #GspellRegion, or %NULL.
*
@@ -747,7 +747,7 @@ _gspell_region_is_empty (GspellRegion *region)
return TRUE;
}
-/**
+/*
* _gspell_region_get_bounds:
* @region: a #GspellRegion.
* @start: (out) (optional): iterator to initialize with the start of @region,
@@ -795,7 +795,7 @@ _gspell_region_get_bounds (GspellRegion *region,
return TRUE;
}
-/**
+/*
* _gspell_region_intersect:
* @region: a #GspellRegion.
* @_start: the start of the subregion.
@@ -993,7 +993,7 @@ invalid:
return FALSE;
}
-/**
+/*
* _gspell_region_get_start_region_iter:
* @region: a #GspellRegion.
* @iter: (out): iterator to initialize to the first subregion.
@@ -1023,7 +1023,7 @@ _gspell_region_get_start_region_iter (GspellRegion *region,
real->region_timestamp = priv->timestamp;
}
-/**
+/*
* _gspell_region_iter_is_end:
* @iter: a #GspellRegionIter.
*
@@ -1043,7 +1043,7 @@ _gspell_region_iter_is_end (GspellRegionIter *iter)
return real->subregions == NULL;
}
-/**
+/*
* _gspell_region_iter_next:
* @iter: a #GspellRegionIter.
*
@@ -1072,7 +1072,7 @@ _gspell_region_iter_next (GspellRegionIter *iter)
return FALSE;
}
-/**
+/*
* _gspell_region_iter_get_subregion:
* @iter: a #GspellRegionIter.
* @start: (out) (optional): iterator to initialize with the subregion start, or %NULL.
@@ -1126,7 +1126,7 @@ _gspell_region_iter_get_subregion (GspellRegionIter *iter,
return TRUE;
}
-/**
+/*
* _gspell_region_to_string:
* @region: a #GspellRegion.
*
diff --git a/gspell/gspellregion.h b/gspell/gspellregion.h
index 2ca347e..11b4190 100644
--- a/gspell/gspellregion.h
+++ b/gspell/gspellregion.h
@@ -44,7 +44,7 @@ struct _GspellRegionClass
gpointer padding[8];
};
-/**
+/*
* GspellRegionIter:
*
* #GspellRegionIter is an opaque datatype; ignore all its fields.
diff --git a/gspell/update-sourceregion.sh b/gspell/update-sourceregion.sh
index 41bc9ea..55597ec 100755
--- a/gspell/update-sourceregion.sh
+++ b/gspell/update-sourceregion.sh
@@ -22,6 +22,7 @@ update_file () {
-e '/gtksourceversion.h/d' \
-e 's/GTK_SOURCE_AVAILABLE_IN_3_22/G_GNUC_INTERNAL/g' \
-e 's/gtksourceregion/gspellregion/g' \
+ -e 's#/\*\*#/*#g' \
-e 's/GTK_SOURCE/GSPELL/g' \
-e 's/GtkSourceRegion/GspellRegion/g' \
-e 's/gtk_source_region/_gspell_region/g' >> "${_dest}"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]