[anjuta] libanjuta: bgo #696984 - Fix function argument name typos in documentation comments



commit 127b291c1bf741e0a9763188bad2274a24ae9e02
Author: Arnel A. Borja <kyoushuu yahoo com>
Date:   Fri Mar 29 15:39:48 2013 +0800

    libanjuta: bgo #696984 - Fix function argument name typos in documentation comments

 libanjuta/anjuta-dock.c            |    2 +-
 libanjuta/anjuta-plugin-manager.h  |    2 +-
 libanjuta/anjuta-shell.h           |   10 +++++-----
 libanjuta/anjuta-token-stream.h    |    2 +-
 libanjuta/interfaces/libanjuta.idl |   34 +++++++++++++++++-----------------
 5 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/libanjuta/anjuta-dock.c b/libanjuta/anjuta-dock.c
index 12e35a8..b75433a 100644
--- a/libanjuta/anjuta-dock.c
+++ b/libanjuta/anjuta-dock.c
@@ -322,7 +322,7 @@ anjuta_dock_remove_pane (AnjutaDock *self, AnjutaDockPane *pane)
 /**
  * anjuta_dock_show_pane:
  * @self: An AnjutaDock
- * @pane_name: Name of the pane to show
+ * @pane: Name of the pane to show
  *
  * Makes the given pane visible
  */
diff --git a/libanjuta/anjuta-plugin-manager.h b/libanjuta/anjuta-plugin-manager.h
index 0baa5c2..0ce86e6 100644
--- a/libanjuta/anjuta-plugin-manager.h
+++ b/libanjuta/anjuta-plugin-manager.h
@@ -84,7 +84,7 @@ GObject* anjuta_plugin_manager_get_plugin (AnjutaPluginManager *plugin_manager,
 GObject* anjuta_plugin_manager_get_plugin_by_id (AnjutaPluginManager *plugin_manager,
                                                                                                 const gchar 
*plugin_id);
 gboolean anjuta_plugin_manager_unload_plugin (AnjutaPluginManager *plugin_manager,
-                                                                                         GObject *plugin);
+                                                                                         GObject 
*plugin_object);
 gboolean anjuta_plugin_manager_unload_plugin_by_id (AnjutaPluginManager *plugin_manager,
                                                                                                        const 
gchar *plugin_id);
 GList* anjuta_plugin_manager_get_active_plugins (AnjutaPluginManager *plugin_manager);
diff --git a/libanjuta/anjuta-shell.h b/libanjuta/anjuta-shell.h
index 3d39a70..9ce7213 100644
--- a/libanjuta/anjuta-shell.h
+++ b/libanjuta/anjuta-shell.h
@@ -77,13 +77,13 @@ struct _AnjutaShellIface {
        void (*save_prompt)  (AnjutaShell *shell, AnjutaSavePrompt *save_prompt);
        
        /* Virtual Table */
-       AnjutaStatus* (*get_status) (AnjutaShell  *shell, GError **err);
-       AnjutaUI* (*get_ui) (AnjutaShell  *shell, GError **err);
-       AnjutaPreferences* (*get_preferences) (AnjutaShell *shell, GError **err);
+       AnjutaStatus* (*get_status) (AnjutaShell  *shell, GError **error);
+       AnjutaUI* (*get_ui) (AnjutaShell  *shell, GError **error);
+       AnjutaPreferences* (*get_preferences) (AnjutaShell *shell, GError **error);
        AnjutaPluginManager* (*get_plugin_manager) (AnjutaShell *shell,
-                                                                                               GError **err);
+                                                                                               GError 
**error);
        AnjutaProfileManager* (*get_profile_manager) (AnjutaShell *shell,
-                                                                                                 GError 
**err);
+                                                                                                 GError 
**error);
        
        void (*add_widget_full)   (AnjutaShell  *shell,
                                                           GtkWidget    *widget,
diff --git a/libanjuta/anjuta-token-stream.h b/libanjuta/anjuta-token-stream.h
index 35bf389..8654f81 100644
--- a/libanjuta/anjuta-token-stream.h
+++ b/libanjuta/anjuta-token-stream.h
@@ -28,7 +28,7 @@ G_BEGIN_DECLS
 
 typedef struct _AnjutaTokenStream AnjutaTokenStream;
 
-AnjutaTokenStream *anjuta_token_stream_push (AnjutaTokenStream *stream, AnjutaToken *root, AnjutaToken 
*content, GFile *filename);
+AnjutaTokenStream *anjuta_token_stream_push (AnjutaTokenStream *parent, AnjutaToken *root, AnjutaToken 
*content, GFile *file);
 AnjutaTokenStream *anjuta_token_stream_pop (AnjutaTokenStream *stream);
 AnjutaTokenStream *anjuta_token_stream_get_parent (AnjutaTokenStream *stream);
 
diff --git a/libanjuta/interfaces/libanjuta.idl b/libanjuta/interfaces/libanjuta.idl
index 5b496f2..47fc214 100644
--- a/libanjuta/interfaces/libanjuta.idl
+++ b/libanjuta/interfaces/libanjuta.idl
@@ -1472,7 +1472,7 @@ interface IAnjutaEditor
        /**
         * ianjuta_editor_set_indentsize:
         * @obj: Self
-        * @tabsize: Indentation size in spaces
+        * @indentsize: Indentation size in spaces
         * @err: Error propagation and reporting
         *
         * Sets the indentation size of the editor.
@@ -3498,7 +3498,7 @@ interface IAnjutaProject
         *
         * Return value: (allow-none) (transfer none): The new property of NULL if the property cannot be set
         */
-       AnjutaProjectProperty *set_property (AnjutaProjectNode *parent, const gchar *id, const gchar *name, 
const gchar *value);
+       AnjutaProjectProperty *set_property (AnjutaProjectNode *node, const gchar *id, const gchar *name, 
const gchar *value);
 
        /**
         * ianjuta_project_remove_property:
@@ -3579,7 +3579,7 @@ interface IAnjutaProjectBackend
        /**
         * ianjuta_project_backend_probe:
         * @obj: Self
-        * @file: (transfer none): Project file or directory
+        * @directory: (transfer none): Project file or directory
         * @err: Error propagation and reporting
         *
         * Check if the directory contains a project supported by this
@@ -4167,7 +4167,7 @@ interface IAnjutaDebugger
         * IAnjutaDebuggerCallback:
         * @data: data
         * @user_data: user data passed to the function
-        * @error: error
+        * @err: error
         *
         * This callback function is used only by #ianjuta_debugger_callback with a
         * NULL data.
@@ -4178,7 +4178,7 @@ interface IAnjutaDebugger
         * IAnjutaDebuggerGListCallback:
         * @list: (element-type any): list of data
         * @user_data: user data passed to the function
-        * @error: error
+        * @err: error
         *
         * This callback function is used by several debugger functions. Depending on
         * the function, the kind of elements in the list is different. It is a string
@@ -4189,9 +4189,9 @@ interface IAnjutaDebugger
 
        /**
         * IAnjutaDebuggerGCharCallback:
-        * @data: string
+        * @value: string
         * @user_data: user data
-        * @error: error
+        * @err: error
         *
         * This callback function is used by several debugger functions. The data is
         * a string
@@ -4200,9 +4200,9 @@ interface IAnjutaDebugger
 
        /**
         * IAnjutaDebuggerOutputCallback:
-        * @data: Self
+        * @type: kind of output
+        * @output: string
         * @user_data: user data
-        * @error: error
         *
         * This callback function is used only by #ianjuta_debugger_callback with a
         * NULL data.
@@ -4584,7 +4584,7 @@ interface IAnjutaDebugger
        *
        * Returns: TRUE if sucessful, otherwise FALSE.
        */
-       gboolean print (const gchar *variable, GCharCallback callback, gpointer user_data);
+       gboolean print (const gchar *name, GCharCallback callback, gpointer user_data);
 
        /**
        * ianjuta_debugger_list_local:
@@ -4977,7 +4977,7 @@ interface IAnjutaDebugger
                 * IAnjutaDebuggerBreakpointCallback:
                 * @data: a #IAnjutaBreakpointItem object
                 * @user_data: user data passed to the function
-                * @error: error
+                * @err: error
                 *
                 * This callback function is used to return a #IAnjutaBreakpointItem.
                 */
@@ -5174,7 +5174,7 @@ interface IAnjutaDebugger
                 * IAnjutaDebuggerVariableCallback:
                 * @data: a #IAnjutaDebuggerVariableObject object
                 * @user_data: user data passed to the function
-                * @error: error
+                * @err: error
                 *
                 * This callback function is used to return a #IAnjutaDebuggerVariableObject.
                 */
@@ -5379,7 +5379,7 @@ interface IAnjutaDebugger
                 * IAnjutaDebuggerMemoryCallback:
                 * @data: a #IAnjutaDebuggerMemoryBlock object
                 * @user_data: user data passed to the function
-                * @error: error
+                * @err: error
                 *
                 * This callback function is used to return a #IAnjutaDebuggerMemoryBlock.
                 */
@@ -5447,7 +5447,7 @@ interface IAnjutaDebugger
                 * IAnjutaDebuggerInstructionCallback:
                 * @data: a #IAnjutaDebuggerInstructionDisassembly object
                 * @user_data: user data passed to the function
-                * @error: error
+                * @err: error
                 *
                 * This callback function is used to return a #IAnjutaDebuggerInstructionDisassembly.
                 */
@@ -6265,7 +6265,7 @@ interface IAnjutaSymbolQuery
         * symbols satisfying the given symbol types are selected, otherwise
         * they are excluded.
         */
-       void set_filters (IAnjutaSymbolType filters, gboolean includes_types);
+       void set_filters (IAnjutaSymbolType filters, gboolean include_types);
 
        /**
         * ianjuta_symbol_query_set_file_scope:
@@ -6400,7 +6400,7 @@ interface IAnjutaSymbolQuery
         *
         * Executes #IANJUTA_SYMBOL_QUERY_SEARCH_ID query.
         */
-       IAnjutaIterable* search_id (gint symbol_id);
+       IAnjutaIterable* search_id (gint symbol);
 
        /**
         * ianjuta_symbol_query_search_scope:
@@ -6799,7 +6799,7 @@ interface IAnjutaIndenter
         * @obj: Self
         * @start: Start of the area to indent
         * @end: End of the area to indent
-        * @error: Error propagation
+        * @err: Error propagation
         *
         * Indent the area between @start and @end according to the indentation rules
         * of the programming language. Usually implemented by language support plugins.


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