[console/wip/cdavis/gnome-version-scheme: 10/11] general: Remove "Since" annotations




commit daa312782338822b5620bec46f9ac4df948aafb7
Author: Christopher Davis <christopherdavis gnome org>
Date:   Tue Dec 21 10:40:41 2021 -0800

    general: Remove "Since" annotations

 src/kgx-application.c  |  4 ----
 src/kgx-close-dialog.c |  2 --
 src/kgx-pages.c        | 20 --------------------
 src/kgx-pages.h        |  2 --
 src/kgx-process.c      | 18 ------------------
 src/kgx-simple-tab.c   |  6 ------
 src/kgx-tab.c          | 24 ------------------------
 src/kgx-tab.h          |  4 ----
 src/kgx-terminal.c     |  8 --------
 src/kgx-terminal.h     | 12 ------------
 src/kgx-window.c       |  8 --------
 src/kgx-window.h       |  4 ----
 12 files changed, 112 deletions(-)
---
diff --git a/src/kgx-application.c b/src/kgx-application.c
index 3e951d0..573ba89 100644
--- a/src/kgx-application.c
+++ b/src/kgx-application.c
@@ -621,8 +621,6 @@ kgx_application_class_init (KgxApplicationClass *klass)
    * Bound to ‘scrollback-lines’ GSetting so changes persist
    *
    * Stability: Private
-   *
-   * Since: 0.4.0
    */
   pspecs[PROP_SCROLLBACK_LINES] =
     g_param_spec_int64 ("scrollback-lines", "Scrollback Lines", "Size of the scrollback",
@@ -882,8 +880,6 @@ kgx_application_init (KgxApplication *self)
  * @page: the #KgxTab the shell is running in
  *
  * Registers a new shell process with the pid watcher
- *
- * Since: 0.3.0
  */
 void
 kgx_application_add_watch (KgxApplication *self,
diff --git a/src/kgx-close-dialog.c b/src/kgx-close-dialog.c
index 1f8217b..16f0359 100644
--- a/src/kgx-close-dialog.c
+++ b/src/kgx-close-dialog.c
@@ -23,8 +23,6 @@
  *
  * The "are you sure?" dialog when a terminal is closed whilst commands are
  * still running within it
- *
- * Since: 0.2.0
  */
 
 #include <glib/gi18n.h>
diff --git a/src/kgx-pages.c b/src/kgx-pages.c
index 3351b4a..0b7c37a 100644
--- a/src/kgx-pages.c
+++ b/src/kgx-pages.c
@@ -22,8 +22,6 @@
  * @short_description: Container of #KgxTab s
  *
  * The container of open #KgxTab (uses #HdyTabView internally)
- *
- * Since: 0.3.0
  */
 
 #include <glib/gi18n.h>
@@ -562,8 +560,6 @@ kgx_pages_class_init (KgxPagesClass *klass)
    * The #HdyTabView
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_TAB_VIEW] =
     g_param_spec_object ("tab-view", "Tab View", "The tab view",
@@ -576,8 +572,6 @@ kgx_pages_class_init (KgxPagesClass *klass)
    * The number of open pages
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_TAB_COUNT] =
     g_param_spec_uint ("tab-count", "Page Count", "Number of pages",
@@ -595,8 +589,6 @@ kgx_pages_class_init (KgxPagesClass *klass)
    * set this property
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_TITLE] =
     g_param_spec_string ("title", "Title", "The title of the active page",
@@ -612,8 +604,6 @@ kgx_pages_class_init (KgxPagesClass *klass)
    * set this property
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_PATH] =
     g_param_spec_object ("path", "Path", "The path of the active page",
@@ -626,8 +616,6 @@ kgx_pages_class_init (KgxPagesClass *klass)
    * The #KgxTheme to apply to the #KgxTerminal s in the #KgxTab s
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_THEME] =
     g_param_spec_enum ("theme", "Theme", "The path of the active page",
@@ -643,8 +631,6 @@ kgx_pages_class_init (KgxPagesClass *klass)
    * Bound to #GtkWindow:is-maximized on the #KgxWindow
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_OPAQUE] =
     g_param_spec_boolean ("opaque", "Opaque", "Terminal opaqueness",
@@ -688,8 +674,6 @@ kgx_pages_class_init (KgxPagesClass *klass)
    * Bound to ‘scrollback-lines’ GSetting so changes persist
    *
    * Stability: Private
-   *
-   * Since: 0.4.0
    */
   pspecs[PROP_SCROLLBACK_LINES] =
     g_param_spec_int64 ("scrollback-lines", "Scrollback Lines", "Size of the scrollback",
@@ -792,8 +776,6 @@ kgx_pages_remove_page (KgxPages *self,
  * @page: the #KgxTab to focus
  *
  * Switch to a page
- *
- * Since: 0.3.0
  */
 void
 kgx_pages_focus_page (KgxPages *self,
@@ -823,8 +805,6 @@ kgx_pages_focus_page (KgxPages *self,
  * @self: the #KgxPages
  *
  * Get the #KgxStatus of the current #KgxTab
- *
- * Since: 0.3.0
  */
 KgxStatus
 kgx_pages_current_status (KgxPages *self)
diff --git a/src/kgx-pages.h b/src/kgx-pages.h
index e3e8a81..9fbaae6 100644
--- a/src/kgx-pages.h
+++ b/src/kgx-pages.h
@@ -28,8 +28,6 @@ G_BEGIN_DECLS
 
 /**
  * KgxPagesClass:
- *
- * Since: 0.3.0
  */
 struct _KgxPagesClass
 {
diff --git a/src/kgx-process.c b/src/kgx-process.c
index 7b2a844..1ceddae 100644
--- a/src/kgx-process.c
+++ b/src/kgx-process.c
@@ -55,8 +55,6 @@ clear_process (KgxProcess *self)
  *
  * See g_rc_box_acquire() and g_rc_box_release_full()
  *
- * Since: 0.1.0
- *
  * Stability: Private
  */
 void
@@ -75,8 +73,6 @@ G_DEFINE_BOXED_TYPE (KgxProcess, kgx_process, g_rc_box_acquire, kgx_process_unre
  *
  * Populate a new #KgxProcess with details about the process @pid
  *
- * Since: 0.1.0
- *
  * Stability: Private
  */
 inline KgxProcess *
@@ -105,8 +101,6 @@ kgx_process_new (GPid pid)
  *
  * Returns: The process id
  *
- * Since: 0.1.0
- *
  * Stability: Private
  */
 inline GPid
@@ -123,8 +117,6 @@ kgx_process_get_pid (KgxProcess *self)
  *
  * Returns: The user id of the process
  *
- * Since: 0.1.0
- *
  * Stability: Private
  */
 inline gint32
@@ -142,8 +134,6 @@ kgx_process_get_uid (KgxProcess *self)
  * Returns: %TRUE if this process is running as root
  *
  * Stability: Private
- *
- * Since: 0.1.0
  */
 inline gboolean
 kgx_process_get_is_root (KgxProcess *self)
@@ -165,8 +155,6 @@ kgx_process_get_is_root (KgxProcess *self)
  * Returns: the parent #GPid
  *
  * Stability: Private
- *
- * Since: 0.1.0
  */
 inline GPid
 kgx_process_get_parent (KgxProcess *self)
@@ -183,8 +171,6 @@ kgx_process_get_parent (KgxProcess *self)
  * Get the command line used to invoke to process
  *
  * Stability: Private
- *
- * Since: 0.1.0
  */
 inline const char *
 kgx_process_get_exec (KgxProcess *self)
@@ -215,8 +201,6 @@ kgx_process_get_exec (KgxProcess *self)
  * Returns: difference between @a and @b
  *
  * Stability: Private
- *
- * Since: 0.2.0
  */
 int
 kgx_pid_cmp (gconstpointer a, gconstpointer b, gpointer data)
@@ -241,8 +225,6 @@ kgx_pid_cmp (gconstpointer a, gconstpointer b, gpointer data)
  * List of processes, free with g_tree_unref()
  *
  * Stability: Private
- *
- * Since: 0.1.0
  */
 GTree *
 kgx_process_get_list (void)
diff --git a/src/kgx-simple-tab.c b/src/kgx-simple-tab.c
index 353bdc1..52dc61b 100644
--- a/src/kgx-simple-tab.c
+++ b/src/kgx-simple-tab.c
@@ -20,8 +20,6 @@
  * SECTION:kgx-simple-tab
  * @title: KgxSimpleTab
  * @short_description: #KgxTab for an old fashioned local terminal
- *
- * Since: 0.3.0
  */
 
 #include "kgx-config.h"
@@ -267,8 +265,6 @@ kgx_simple_tab_class_init (KgxSimpleTabClass *klass)
    * KgxSimpleTab:initial-work-dir:
    *
    * Used to handle --working-dir
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_INITIAL_WORK_DIR] =
     g_param_spec_string ("initial-work-dir", "Initial directory",
@@ -280,8 +276,6 @@ kgx_simple_tab_class_init (KgxSimpleTabClass *klass)
    * KgxSimpleTab:command:
    *
    * Used to handle -e
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_COMMAND] =
     g_param_spec_boxed ("command", "Command",
diff --git a/src/kgx-tab.c b/src/kgx-tab.c
index dc560e0..2a009b1 100644
--- a/src/kgx-tab.c
+++ b/src/kgx-tab.c
@@ -20,8 +20,6 @@
  * SECTION:kgx-page
  * @title: KgxTab
  * @short_description: Base for things in a #KgxPages
- *
- * Since: 0.3.0
  */
 
 #include <glib/gi18n.h>
@@ -575,8 +573,6 @@ kgx_tab_class_init (KgxTabClass *klass)
    * The #KgxApplication this tab is running under
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_APPLICATION] =
     g_param_spec_object ("application", "Application", "The application",
@@ -589,8 +585,6 @@ kgx_tab_class_init (KgxTabClass *klass)
    * Title of this tab
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_TAB_TITLE] =
     g_param_spec_string ("tab-title", "Page Title", "Title for this tab",
@@ -603,8 +597,6 @@ kgx_tab_class_init (KgxTabClass *klass)
    * Current path of this tab
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_TAB_PATH] =
     g_param_spec_object ("tab-path", "Page Path", "Current path",
@@ -615,8 +607,6 @@ kgx_tab_class_init (KgxTabClass *klass)
    * KgxTab:tab-status:
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_TAB_STATUS] =
     g_param_spec_flags ("tab-status", "Page Status", "Session status",
@@ -648,8 +638,6 @@ kgx_tab_class_init (KgxTabClass *klass)
    * This is the active tab of the active window
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_IS_ACTIVE] =
     g_param_spec_boolean ("is-active", "Is Active", "Current tab",
@@ -662,8 +650,6 @@ kgx_tab_class_init (KgxTabClass *klass)
    * The #KgxTheme to apply to the #KgxTerminal s in the #KgxTab
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_THEME] =
     g_param_spec_enum ("theme", "Theme", "The path of the active tab",
@@ -679,8 +665,6 @@ kgx_tab_class_init (KgxTabClass *klass)
    * Bound to #GtkWindow:is-maximized on the #KgxWindow
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_OPAQUE] =
     g_param_spec_boolean ("opaque", "Opaque", "Terminal opaqueness",
@@ -713,8 +697,6 @@ kgx_tab_class_init (KgxTabClass *klass)
    * Bound to ‘scrollback-lines’ GSetting so changes persist
    *
    * Stability: Private
-   *
-   * Since: 0.4.0
    */
   pspecs[PROP_SCROLLBACK_LINES] =
     g_param_spec_int64 ("scrollback-lines", "Scrollback Lines", "Size of the scrollback",
@@ -1021,8 +1003,6 @@ kgx_tab_died (KgxTab         *self,
  * Find the #KgxTabs @self is (currently) a memember of
  *
  * Returns: (transfer none): the #KgxTabs
- *
- * Since: 0.3.0
  */
 KgxPages *
 kgx_tab_get_pages (KgxTab *self)
@@ -1082,8 +1062,6 @@ push_type (GHashTable      *table,
  * @process: the #KgxProcess of the remote process
  *
  * Registers @pid as a child of @self
- *
- * Since: 0.3.0
  */
 void
 kgx_tab_push_child (KgxTab     *self,
@@ -1150,8 +1128,6 @@ pop_type (GHashTable      *table,
  * @process: the #KgxProcess of the child process
  *
  * Remove a child added with kgx_tab_push_child()
- *
- * Since: 0.3.0
  */
 void
 kgx_tab_pop_child (KgxTab     *self,
diff --git a/src/kgx-tab.h b/src/kgx-tab.h
index 936b1d9..fdf0eae 100644
--- a/src/kgx-tab.h
+++ b/src/kgx-tab.h
@@ -36,8 +36,6 @@ G_BEGIN_DECLS
  *
  * Indicates the status of the session the #KgxTab represents
  *
- * Since: 0.3.0
- *
  * Stability: Private
  */
 typedef enum /*< flags,prefix=KGX >*/
@@ -63,8 +61,6 @@ G_DECLARE_DERIVABLE_TYPE (KgxTab, kgx_tab, KGX, TAB, GtkBox)
  * @start_finish: complete @start
  *
  * Stability: Private
- *
- * Since: 0.3.0
  */
 struct _KgxTabClass
 {
diff --git a/src/kgx-terminal.c b/src/kgx-terminal.c
index e906ec7..41d508f 100644
--- a/src/kgx-terminal.c
+++ b/src/kgx-terminal.c
@@ -23,8 +23,6 @@
  *
  * The main terminal widget with various features added such as a context
  * menu (via #GtkPopover) and link detection
- *
- * Since: 0.1.0
  */
 
 #include <glib/gi18n.h>
@@ -374,8 +372,6 @@ kgx_terminal_class_init (KgxTerminalClass *klass)
    * Bound to #KgxApplication:theme on the #KgxApplication
    *
    * Stability: Private
-   *
-   * Since: 0.1.0
    */
   pspecs[PROP_THEME] =
     g_param_spec_enum ("theme", "Theme", "Terminal theme",
@@ -390,8 +386,6 @@ kgx_terminal_class_init (KgxTerminalClass *klass)
    * Bound to #GtkWindow:is-maximized on the #KgxWindow
    *
    * Stability: Private
-   *
-   * Since: 0.1.0
    */
   pspecs[PROP_OPAQUE] =
     g_param_spec_boolean ("opaque", "Opaque", "Terminal opaqueness",
@@ -403,8 +397,6 @@ kgx_terminal_class_init (KgxTerminalClass *klass)
    *
    *
    * Stability: Private
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_PATH] =
     g_param_spec_object ("path", "Path", "Current path",
diff --git a/src/kgx-terminal.h b/src/kgx-terminal.h
index d2201e1..383f023 100644
--- a/src/kgx-terminal.h
+++ b/src/kgx-terminal.h
@@ -36,8 +36,6 @@ G_BEGIN_DECLS
  * Until [meson#1687](https://github.com/mesonbuild/meson/issues/1687) is
  * resolved this enum must be manually kept in sync with
  * the ‘Theme’ enum in the gschema
- *
- * Since: 0.1.0
  */
 typedef enum /*< enum,prefix=KGX >*/
 {
@@ -52,8 +50,6 @@ typedef enum /*< enum,prefix=KGX >*/
  * The number of regexs use to search for hyperlinks
  *
  * Stability: Private
- *
- * Since: 0.1.0
  */
 #define KGX_TERMINAL_N_LINK_REGEX 5
 
@@ -63,8 +59,6 @@ typedef enum /*< enum,prefix=KGX >*/
  * The smallest font scale/zoom
  *
  * Stability: Private
- *
- * Since: 0.5.0
  */
 #define KGX_FONT_SCALE_MIN 0.5
 
@@ -74,8 +68,6 @@ typedef enum /*< enum,prefix=KGX >*/
  * The largest font scale/zoom
  *
  * Stability: Private
- *
- * Since: 0.5.0
  */
 #define KGX_FONT_SCALE_MAX 4.0
 
@@ -85,8 +77,6 @@ typedef enum /*< enum,prefix=KGX >*/
  * The standard font scale/zoom
  *
  * Stability: Private
- *
- * Since: 0.5.0
  */
 #define KGX_FONT_SCALE_DEFAULT 1.0
 
@@ -102,8 +92,6 @@ typedef enum /*< enum,prefix=KGX >*/
  * @match_id: regex ids for finding hyperlinks
  *
  * Stability: Private
- *
- * Since: 0.1.0
  */
 struct _KgxTerminal {
   /*< private >*/
diff --git a/src/kgx-window.c b/src/kgx-window.c
index 8499b8e..acddf60 100644
--- a/src/kgx-window.c
+++ b/src/kgx-window.c
@@ -22,8 +22,6 @@
  * @short_description: Window
  *
  * The main #HdyApplicationWindow that acts as the terminal
- *
- * Since: 0.1.0
  */
 
 #include "kgx-config.h"
@@ -416,8 +414,6 @@ kgx_window_class_init (KgxWindowClass *klass)
    *
    * Proxy for #GtkWindow #GtkWindow:application but with %G_PARAM_CONSTRUCT,
    * simple as that
-   *
-   * Since: 0.3.0
    */
   pspecs[PROP_APPLICATION] =
     g_param_spec_object ("application", "Application",
@@ -710,8 +706,6 @@ kgx_window_init (KgxWindow *self)
  *
  * Get the working directory path of this window, used to open new windows
  * in the same directory
- *
- * Since: 0.4.0
  */
 GFile *
 kgx_window_get_working_dir (KgxWindow *self)
@@ -731,8 +725,6 @@ kgx_window_get_working_dir (KgxWindow *self)
  * @self: the #KgxWindow
  *
  * Get the tabbed widget inside @self
- *
- * Since: 0.3.0
  */
 KgxPages *
 kgx_window_get_pages (KgxWindow *self)
diff --git a/src/kgx-window.h b/src/kgx-window.h
index 3c34fb0..c79661c 100644
--- a/src/kgx-window.h
+++ b/src/kgx-window.h
@@ -40,8 +40,6 @@ G_BEGIN_DECLS
  *
  * See #KgxPage:zoom, #KgxPages:zoom
  *
- * Since: 0.3.0
- *
  * Stability: Private
  */
 typedef enum /*< enum,prefix=KGX >*/
@@ -71,8 +69,6 @@ typedef enum /*< enum,prefix=KGX >*/
  * @zoom_level: the #GtkLabel in the #GtkPopover showing the current zoom level
  * @pages: the #KgxPages of #KgxPage current in the window
  * @about_item: the #GtkModelButton for the about item
- *
- * Since: 0.1.0
  */
 struct _KgxWindow
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]