aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-04-14 21:15:12 +0200
committerAnders Broman <a.broman58@gmail.com>2014-04-14 20:27:24 +0000
commita9103e0234c040a748898c8be8aab5a88a1f7bb9 (patch)
tree9b938b6fb5488898fd8cc9d36b0a39edda2ab491 /ui
parentb00a622bcd12157ae776bf4cfbed6b7d67887a3d (diff)
Fix warning when generate documentation (doxygen)
ui/gtk/gui_stat_menu.h:42: Warning: The following parameters of register_menu_bar_menu_items(const char *gui_path, const char *name, const gchar *stock_id, const char *label, const char *accelerator, const gchar *tooltip, gpointer callback, gpointer callback_data, gboolean enabled, gboolean(*selected_packet_enabled)(frame_data *, struct epan_dissect *, gpointer callback_data), gboolean(*selected_tree_row_enabled)(field_info *, gpointer callback_data)) are not documented: parameter 'gui_path' parameter 'label' parameter 'accelerator' parameter 'tooltip' parameter 'enabled' Change-Id: I422d767741b29b8722c85a4ef97186d599d802c3 Reviewed-on: https://code.wireshark.org/review/1137 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/gtk/gui_stat_menu.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/ui/gtk/gui_stat_menu.h b/ui/gtk/gui_stat_menu.h
index d0df747467..992193b3c1 100644
--- a/ui/gtk/gui_stat_menu.h
+++ b/ui/gtk/gui_stat_menu.h
@@ -43,13 +43,25 @@ stat_group_name(register_stat_group_t group);
*
* Same as register_stat_menu_item() but with optional stock item.
*
+ * @param gui_path the path to gui
+ *
* @param name the menu label
*
* @param stock_id the stock_id (icon) to show, or NULL
*
+ * @param label the label
+ *
+ * @param accelerator the accelerator key
+ *
+ * @param tooltip the tooltip menu
+ *
* @param callback gets called when the menu item is selected; it should do
* the work of creating the stat window.
*
+ * @param callback_data data for callback function
+ *
+ * @param enabled enable or not the bar menu
+ *
* @param selected_packet_enabled gets called by set_menus_for_selected_packet();
* it's passed a pointer to the "frame_data" structure for the current frame,
* if any, and to the "epan_dissect_t" structure for that frame, if any, and
@@ -62,8 +74,6 @@ stat_group_name(register_stat_group_t group);
* and should return TRUE if the stat will work now (which might depend on
* whether a tree row is selected and, if one is, on the tree row) and
* FALSE if not.
- *
- * @param callback_data data for callback function
*/
void register_menu_bar_menu_items(
const char *gui_path,