X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgdataset.c;h=f054d322332357bcf2ee7702b2a9908bf20881f2;hb=d0083f7e2dd621c6b78496bdb6ecf5d580c5e110;hp=f0919b3f18c0d683f3ec72345166c5e49b5f1e1e;hpb=d721d41d380ab1494e8d4e08b38fd884b1660fe7;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gdataset.c b/glib/gdataset.c index f0919b3..f054d32 100644 --- a/glib/gdataset.c +++ b/glib/gdataset.c @@ -15,8 +15,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * License along with this library; if not, see . */ /* @@ -122,9 +121,9 @@ /** * GData: * - * The #GData struct is an opaque data structure to represent a Keyed Data List. It should - * only be accessed via the following functions. + * The #GData struct is an opaque data structure to represent a + * [Keyed Data List][glib-Keyed-Data-Lists]. It should only be + * accessed via the following functions. **/ /** @@ -282,7 +281,7 @@ g_datalist_clear (GData **datalist) static inline GDataset* g_dataset_lookup (gconstpointer dataset_location) { - register GDataset *dataset; + GDataset *dataset; if (g_dataset_cached && g_dataset_cached->location == dataset_location) return g_dataset_cached; @@ -298,7 +297,7 @@ g_dataset_lookup (gconstpointer dataset_location) static void g_dataset_destroy_internal (GDataset *dataset) { - register gconstpointer dataset_location; + gconstpointer dataset_location; dataset_location = dataset->location; while (dataset) @@ -332,7 +331,7 @@ g_dataset_destroy (gconstpointer dataset_location) G_LOCK (g_dataset_global); if (g_dataset_location_ht) { - register GDataset *dataset; + GDataset *dataset; dataset = g_dataset_lookup (dataset_location); if (dataset) @@ -553,7 +552,7 @@ g_dataset_id_set_data_full (gconstpointer dataset_location, gpointer data, GDestroyNotify destroy_func) { - register GDataset *dataset; + GDataset *dataset; g_return_if_fail (dataset_location != NULL); if (!data) @@ -904,7 +903,7 @@ g_datalist_id_dup_data (GData **datalist, * or may not include using @old_destroy as sometimes replacement * should not destroy the object in the normal way. * - * Return: %TRUE if the existing value for @key_id was replaced + * Returns: %TRUE if the existing value for @key_id was replaced * by @newval, %FALSE otherwise. * * Since: 2.34 @@ -1071,7 +1070,7 @@ g_dataset_foreach (gconstpointer dataset_location, GDataForeachFunc func, gpointer user_data) { - register GDataset *dataset; + GDataset *dataset; g_return_if_fail (dataset_location != NULL); g_return_if_fail (func != NULL); @@ -1218,7 +1217,7 @@ g_datalist_unset_flags (GData **datalist, * Gets flags values packed in together with the datalist. * See g_datalist_set_flags(). * - * Return value: the flags of the datalist + * Returns: the flags of the datalist * * Since: 2.8 **/