[geany/geany] 614a19: Remove deprecated symbols (#3020)

xiota git-noreply at xxxxx
Mon Nov 29 06:19:49 UTC 2021


Branch:      refs/heads/master
Author:      xiota <xiota at users.noreply.github.com>
Committer:   GitHub <noreply at github.com>
Date:        Mon, 29 Nov 2021 06:19:49 UTC
Commit:      614a19045c8e94ea070e341cdc202412897695ad
             https://github.com/geany/geany/commit/614a19045c8e94ea070e341cdc202412897695ad

Log Message:
-----------
Remove deprecated symbols (#3020)

* documents_foreach(i) from document.h
* filetype_id from filetypes.h


Modified Paths:
--------------
    src/document.h
    src/filetypes.h

Modified: src/document.h
8 lines changed, 0 insertions(+), 8 deletions(-)
===================================================================
@@ -129,14 +129,6 @@ GeanyDocument;
  * @see documents_array(). */
 #define documents ((GeanyDocument **)GEANY(documents_array)->pdata)
 
-/** @deprecated Use @ref foreach_document() instead.
- * Iterates all valid documents.
- * Use like a @c for statement.
- * @param i @c guint index for document_index(). */
-#ifndef GEANY_DISABLE_DEPRECATED
-#define documents_foreach(i) foreach_document(i)
-#endif
-
 /** Iterates all valid document indexes.
  * Use like a @c for statement.
  * @param i @c guint index for @ref GeanyData::documents_array.


Modified: src/filetypes.h
4 lines changed, 0 insertions(+), 4 deletions(-)
===================================================================
@@ -113,10 +113,6 @@ typedef enum
 }
 GeanyFiletypeID;
 
-#ifndef GEANY_DISABLE_DEPRECATED
-/* compat define - should be removed in the future */
-typedef GeanyFiletypeID filetype_id GEANY_DEPRECATED_FOR(GeanyFiletypeID);
-#endif /* GEANY_DISABLE_DEPRECATED */
 
 /** @gironly
  * Filetype categories



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list