[gnome-packagekit] trivial: Remove useless gtk-doc static comments
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] trivial: Remove useless gtk-doc static comments
- Date: Mon, 18 Jul 2016 15:21:47 +0000 (UTC)
commit 7ff1f3b82f2600c21aea41e549444675ad5ee412
Author: Richard Hughes <richard hughsie com>
Date: Mon Jul 18 14:25:30 2016 +0100
trivial: Remove useless gtk-doc static comments
src/gpk-application.c | 225 ---------------------------------------
src/gpk-cell-renderer-info.c | 10 --
src/gpk-cell-renderer-restart.c | 10 --
src/gpk-cell-renderer-size.c | 10 --
src/gpk-common.c | 27 -----
src/gpk-debug.c | 15 ---
src/gpk-dialog.c | 33 ------
src/gpk-enum.c | 59 ----------
src/gpk-error.c | 3 -
src/gpk-log.c | 72 -------------
src/gpk-prefs.c | 60 -----------
src/gpk-self-test.c | 6 -
src/gpk-task.c | 60 -----------
src/gpk-update-viewer.c | 195 ---------------------------------
14 files changed, 0 insertions(+), 785 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index 0da75c7..e895d86 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -138,9 +138,6 @@ _g_strzero (const gchar *text)
return FALSE;
}
-/**
- * gpk_application_state_get_icon:
- **/
static const gchar *
gpk_application_state_get_icon (PkBitfield state)
{
@@ -171,9 +168,6 @@ gpk_application_state_get_icon (PkBitfield state)
return NULL;
}
-/**
- * gpk_application_state_get_checkbox:
- **/
static gboolean
gpk_application_state_get_checkbox (PkBitfield state)
{
@@ -190,9 +184,6 @@ gpk_application_state_get_checkbox (PkBitfield state)
return FALSE;
}
-/**
- * gpk_application_set_text_buffer:
- **/
static void
gpk_application_set_text_buffer (GtkWidget *widget, const gchar *text)
{
@@ -208,9 +199,6 @@ gpk_application_set_text_buffer (GtkWidget *widget, const gchar *text)
gtk_text_view_set_buffer (GTK_TEXT_VIEW (widget), buffer);
}
-/**
- * gpk_application_allow_install:
- **/
static void
gpk_application_allow_install (GpkApplicationPrivate *priv, gboolean allow)
{
@@ -219,9 +207,6 @@ gpk_application_allow_install (GpkApplicationPrivate *priv, gboolean allow)
gtk_widget_set_visible (widget, allow);
}
-/**
- * gpk_application_allow_remove:
- **/
static void
gpk_application_allow_remove (GpkApplicationPrivate *priv, gboolean allow)
{
@@ -230,9 +215,6 @@ gpk_application_allow_remove (GpkApplicationPrivate *priv, gboolean allow)
gtk_widget_set_visible (widget, allow);
}
-/**
- * gpk_application_packages_checkbox_invert:
- **/
static void
gpk_application_packages_checkbox_invert (GpkApplicationPrivate *priv)
{
@@ -270,9 +252,6 @@ gpk_application_packages_checkbox_invert (GpkApplicationPrivate *priv)
g_free (package_id);
}
-/**
- * gpk_application_get_checkbox_enable:
- **/
static gboolean
gpk_application_get_checkbox_enable (GpkApplicationPrivate *priv, PkBitfield state)
{
@@ -289,9 +268,6 @@ gpk_application_get_checkbox_enable (GpkApplicationPrivate *priv, PkBitfield sta
return enable_available;
}
-/**
- * gpk_application_get_selected_package:
- **/
static gboolean
gpk_application_get_selected_package (GpkApplicationPrivate *priv, gchar **package_id, gchar **summary)
{
@@ -325,9 +301,6 @@ out:
return ret;
}
-/**
- * gpk_application_group_add_selected:
- **/
static void
gpk_application_group_add_selected (GpkApplicationPrivate *priv)
{
@@ -356,9 +329,6 @@ out:
g_free (id);
}
-/**
- * gpk_application_group_remove_selected:
- **/
static void
gpk_application_group_remove_selected (GpkApplicationPrivate *priv)
{
@@ -379,9 +349,6 @@ out:
g_free (id);
}
-/**
- * gpk_application_change_queue_status:
- **/
static void
gpk_application_change_queue_status (GpkApplicationPrivate *priv)
{
@@ -436,9 +403,6 @@ gpk_application_change_queue_status (GpkApplicationPrivate *priv)
}
}
-/**
- * gpk_application_install:
- **/
static gboolean
gpk_application_install (GpkApplicationPrivate *priv)
{
@@ -505,27 +469,18 @@ out:
return ret;
}
-/**
- * gpk_application_menu_homepage_cb:
- **/
static void
gpk_application_menu_homepage_cb (GtkAction *action, GpkApplicationPrivate *priv)
{
gtk_show_uri (NULL, priv->homepage_url, GDK_CURRENT_TIME, NULL);
}
-/**
- * gpk_application_strcmp_indirect:
- **/
static gint
gpk_application_strcmp_indirect (gchar **a, gchar **b)
{
return strcmp (*a, *b);
}
-/**
- * gpk_application_get_files_cb:
- **/
static void
gpk_application_get_files_cb (PkClient *client, GAsyncResult *res, GpkApplicationPrivate *priv)
{
@@ -620,9 +575,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_application_status_changed_timeout_cb:
- **/
static gboolean
gpk_application_status_changed_timeout_cb (GpkApplicationPrivate *priv)
{
@@ -648,9 +600,6 @@ gpk_application_status_changed_timeout_cb (GpkApplicationPrivate *priv)
return FALSE;
}
-/**
- * gpk_application_progress_cb:
- **/
static void
gpk_application_progress_cb (PkProgress *progress, PkProgressType type, GpkApplicationPrivate *priv)
{
@@ -725,9 +674,6 @@ out:
return;
}
-/**
- * gpk_application_menu_files_cb:
- **/
static void
gpk_application_menu_files_cb (GtkAction *action, GpkApplicationPrivate *priv)
{
@@ -755,9 +701,6 @@ out:
g_strfreev (package_ids);
}
-/**
- * gpk_application_remove:
- **/
static gboolean
gpk_application_remove (GpkApplicationPrivate *priv)
{
@@ -820,27 +763,18 @@ out:
return TRUE;
}
-/**
- * gpk_application_menu_install_cb:
- **/
static void
gpk_application_menu_install_cb (GtkAction *action, GpkApplicationPrivate *priv)
{
gpk_application_install (priv);
}
-/**
- * gpk_application_menu_remove_cb:
- **/
static void
gpk_application_menu_remove_cb (GtkAction *action, GpkApplicationPrivate *priv)
{
gpk_application_remove (priv);
}
-/**
- * gpk_application_get_requires_cb:
- **/
static void
gpk_application_get_requires_cb (PkClient *client, GAsyncResult *res, GpkApplicationPrivate *priv)
{
@@ -934,9 +868,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_application_menu_requires_cb:
- **/
static void
gpk_application_menu_requires_cb (GtkAction *action, GpkApplicationPrivate *priv)
{
@@ -968,9 +899,6 @@ out:
g_strfreev (package_ids);
}
-/**
- * gpk_application_get_depends_cb:
- **/
static void
gpk_application_get_depends_cb (PkClient *client, GAsyncResult *res, GpkApplicationPrivate *priv)
{
@@ -1064,9 +992,6 @@ out:
g_free (message);
}
-/**
- * gpk_application_menu_depends_cb:
- **/
static void
gpk_application_menu_depends_cb (GtkAction *_action, GpkApplicationPrivate *priv)
{
@@ -1098,9 +1023,6 @@ out:
g_strfreev (package_ids);
}
-/**
- * gpk_application_get_full_repo_name:
- **/
static const gchar *
gpk_application_get_full_repo_name (GpkApplicationPrivate *priv, const gchar *data)
{
@@ -1122,9 +1044,6 @@ gpk_application_get_full_repo_name (GpkApplicationPrivate *priv, const gchar *da
return repo_name;
}
-/**
- * gpk_application_clear_details_cb:
- **/
static gboolean
gpk_application_clear_details_cb (GpkApplicationPrivate *priv)
{
@@ -1139,9 +1058,6 @@ gpk_application_clear_details_cb (GpkApplicationPrivate *priv)
return FALSE;
}
-/**
- * gpk_application_clear_details:
- **/
static void
gpk_application_clear_details (GpkApplicationPrivate *priv)
{
@@ -1154,9 +1070,6 @@ gpk_application_clear_details (GpkApplicationPrivate *priv)
"[GpkApplication] clear-details");
}
-/**
- * gpk_application_clear_packages:
- **/
static void
gpk_application_clear_packages (GpkApplicationPrivate *priv)
{
@@ -1165,9 +1078,6 @@ gpk_application_clear_packages (GpkApplicationPrivate *priv)
gtk_list_store_clear (priv->packages_store);
}
-/**
- * gpk_application_add_item_to_results:
- **/
static void
gpk_application_add_item_to_results (GpkApplicationPrivate *priv, PkPackage *item)
{
@@ -1237,9 +1147,6 @@ gpk_application_add_item_to_results (GpkApplicationPrivate *priv, PkPackage *ite
g_free (text);
}
-/**
- * gpk_application_suggest_better_search:
- **/
static void
gpk_application_suggest_better_search (GpkApplicationPrivate *priv)
{
@@ -1280,9 +1187,6 @@ gpk_application_suggest_better_search (GpkApplicationPrivate *priv)
g_free (text);
}
-/**
- * gpk_application_perform_search_idle_cb:
- **/
static gboolean
gpk_application_perform_search_idle_cb (GpkApplicationPrivate *priv)
{
@@ -1338,9 +1242,6 @@ gpk_application_select_exact_match (GpkApplicationPrivate *priv, const gchar *te
}
#if 0
-/**
- * gpk_application_finished_cb:
- **/
static void
gpk_application_finished_cb (PkClient *client, PkExitEnum exit_enum, guint runtime, GpkApplicationPrivate
*priv)
{
@@ -1351,9 +1252,6 @@ gpk_application_finished_cb (PkClient *client, PkExitEnum exit_enum, guint runti
}
#endif
-/**
- * gpk_application_cancel_cb:
- **/
static void
gpk_application_cancel_cb (GtkWidget *button_widget, GpkApplicationPrivate *priv)
{
@@ -1363,9 +1261,6 @@ gpk_application_cancel_cb (GtkWidget *button_widget, GpkApplicationPrivate *priv
priv->search_mode = GPK_MODE_UNKNOWN;
}
-/**
- * gpk_application_set_button_find_sensitivity:
- **/
static void
gpk_application_set_button_find_sensitivity (GpkApplicationPrivate *priv)
{
@@ -1376,9 +1271,6 @@ gpk_application_set_button_find_sensitivity (GpkApplicationPrivate *priv)
gtk_widget_set_sensitive (widget, !priv->search_in_progress);
}
-/**
- * gpk_application_search_cb:
- **/
static void
gpk_application_search_cb (PkClient *client, GAsyncResult *res, GpkApplicationPrivate *priv)
{
@@ -1455,9 +1347,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_application_perform_search_name_details_file:
- **/
static void
gpk_application_perform_search_name_details_file (GpkApplicationPrivate *priv)
{
@@ -1537,9 +1426,6 @@ out:
g_strfreev (searches);
}
-/**
- * gpk_application_perform_search_others:
- **/
static void
gpk_application_perform_search_others (GpkApplicationPrivate *priv)
{
@@ -1565,9 +1451,6 @@ gpk_application_perform_search_others (GpkApplicationPrivate *priv)
}
}
-/**
- * gpk_application_populate_selected:
- **/
static gboolean
gpk_application_populate_selected (GpkApplicationPrivate *priv)
{
@@ -1595,9 +1478,6 @@ out:
return TRUE;
}
-/**
- * gpk_application_perform_search:
- **/
static void
gpk_application_perform_search (GpkApplicationPrivate *priv)
{
@@ -1625,9 +1505,6 @@ gpk_application_perform_search (GpkApplicationPrivate *priv)
}
}
-/**
- * gpk_application_find_cb:
- **/
static void
gpk_application_find_cb (GtkWidget *button_widget, GpkApplicationPrivate *priv)
{
@@ -1635,10 +1512,6 @@ gpk_application_find_cb (GtkWidget *button_widget, GpkApplicationPrivate *priv)
gpk_application_perform_search (priv);
}
-/**
- * gpk_application_quit:
- * @event: The event type, unused.
- **/
static gboolean
gpk_application_quit (GpkApplicationPrivate *priv)
{
@@ -1680,9 +1553,6 @@ gpk_application_quit (GpkApplicationPrivate *priv)
return TRUE;
}
-/**
- * gpk_application_text_changed_cb:
- **/
static gboolean
gpk_application_text_changed_cb (GtkEntry *entry, GpkApplicationPrivate *priv)
{
@@ -1702,9 +1572,6 @@ gpk_application_text_changed_cb (GtkEntry *entry, GpkApplicationPrivate *priv)
return FALSE;
}
-/**
- * gpk_application_packages_installed_clicked_cb:
- **/
static void
gpk_application_packages_installed_clicked_cb (GtkCellRendererToggle *cell, gchar *path_str,
GpkApplicationPrivate *priv)
{
@@ -1739,9 +1606,6 @@ gpk_application_packages_installed_clicked_cb (GtkCellRendererToggle *cell, gcha
static void gpk_application_packages_treeview_clicked_cb (GtkTreeSelection *selection, GpkApplicationPrivate
*priv);
-/**
- * gpk_application_button_clear_cb:
- **/
static void
gpk_application_button_clear_cb (GtkWidget *widget_button, GpkApplicationPrivate *priv)
{
@@ -1791,9 +1655,6 @@ gpk_application_button_clear_cb (GtkWidget *widget_button, GpkApplicationPrivate
gpk_application_change_queue_status (priv);
}
-/**
- * gpk_application_install_packages_cb:
- **/
static void
gpk_application_install_packages_cb (PkTask *task, GAsyncResult *res, GpkApplicationPrivate *priv)
{
@@ -1840,9 +1701,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_application_remove_packages_cb:
- **/
static void
gpk_application_remove_packages_cb (PkTask *task, GAsyncResult *res, GpkApplicationPrivate *priv)
{
@@ -1889,9 +1747,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_application_button_apply_cb:
- **/
static void
gpk_application_button_apply_cb (GtkWidget *widget, GpkApplicationPrivate *priv)
{
@@ -2000,9 +1855,6 @@ gpk_application_groups_add_columns (GtkTreeView *treeview)
}
-/**
- * gpk_application_groups_treeview_changed_cb:
- **/
static void
gpk_application_groups_treeview_changed_cb (GtkTreeSelection *selection, GpkApplicationPrivate *priv)
{
@@ -2052,9 +1904,6 @@ gpk_application_groups_treeview_changed_cb (GtkTreeSelection *selection, GpkAppl
}
}
-/**
- * gpk_application_get_details_cb:
- **/
static void
gpk_application_get_details_cb (PkClient *client, GAsyncResult *res, GpkApplicationPrivate *priv)
{
@@ -2206,9 +2055,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_application_packages_treeview_clicked_cb:
- **/
static void
gpk_application_packages_treeview_clicked_cb (GtkTreeSelection *selection, GpkApplicationPrivate *priv)
{
@@ -2292,9 +2138,6 @@ out:
g_strfreev (package_ids);
}
-/**
- * gpk_application_notify_network_state_cb:
- **/
static void
gpk_application_notify_network_state_cb (PkControl *_control, GParamSpec *pspec, GpkApplicationPrivate *priv)
{
@@ -2307,9 +2150,6 @@ gpk_application_notify_network_state_cb (PkControl *_control, GParamSpec *pspec,
g_debug ("state=%i", state);
}
-/**
- * gpk_application_group_add_data:
- **/
static void
gpk_application_group_add_data (GpkApplicationPrivate *priv, PkGroupEnum group)
{
@@ -2330,9 +2170,6 @@ gpk_application_group_add_data (GpkApplicationPrivate *priv, PkGroupEnum group)
-1);
}
-/**
- * gpk_application_menu_search_by_name:
- **/
static void
gpk_application_menu_search_by_name (GtkMenuItem *item, GpkApplicationPrivate *priv)
{
@@ -2356,9 +2193,6 @@ gpk_application_menu_search_by_name (GtkMenuItem *item, GpkApplicationPrivate *p
"edit-find");
}
-/**
- * gpk_application_menu_search_by_description:
- **/
static void
gpk_application_menu_search_by_description (GtkMenuItem *item, GpkApplicationPrivate *priv)
{
@@ -2382,9 +2216,6 @@ gpk_application_menu_search_by_description (GtkMenuItem *item, GpkApplicationPri
"edit-find-replace");
}
-/**
- * gpk_application_menu_search_by_file:
- **/
static void
gpk_application_menu_search_by_file (GtkMenuItem *item, GpkApplicationPrivate *priv)
{
@@ -2408,9 +2239,6 @@ gpk_application_menu_search_by_file (GtkMenuItem *item, GpkApplicationPrivate *p
"folder-open");
}
-/**
- * gpk_application_entry_text_icon_press_cb:
- **/
static void
gpk_application_entry_text_icon_press_cb (GtkEntry *entry, GtkEntryIconPosition icon_pos, GdkEventButton
*event, GpkApplicationPrivate *priv)
{
@@ -2452,9 +2280,6 @@ gpk_application_entry_text_icon_press_cb (GtkEntry *entry, GtkEntryIconPosition
event->button, event->time);
}
-/**
- * gpk_application_activate_about_cb:
- **/
static void
gpk_application_activate_about_cb (GSimpleAction *action,
GVariant *parameter,
@@ -2517,9 +2342,6 @@ gpk_application_activate_about_cb (GSimpleAction *action,
g_free (license_trans);
}
-/**
- * gpk_application_activate_sources_cb:
- **/
static void
gpk_application_activate_sources_cb (GSimpleAction *action,
GVariant *parameter,
@@ -2544,9 +2366,6 @@ gpk_application_activate_sources_cb (GSimpleAction *action,
g_free (command);
}
-/**
- * gpk_application_activate_log_cb:
- **/
static void
gpk_application_activate_log_cb (GSimpleAction *action,
GVariant *parameter,
@@ -2571,9 +2390,6 @@ gpk_application_activate_log_cb (GSimpleAction *action,
g_free (command);
}
-/**
- * gpk_application_refresh_cache_cb:
- **/
static void
gpk_application_refresh_cache_cb (PkClient *client, GAsyncResult *res, GpkApplicationPrivate *priv)
{
@@ -2610,9 +2426,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_application_activate_refresh_cb:
- **/
static void
gpk_application_activate_refresh_cb (GSimpleAction *action,
GVariant *parameter,
@@ -2628,9 +2441,6 @@ gpk_application_activate_refresh_cb (GSimpleAction *action,
(GAsyncReadyCallback) gpk_application_refresh_cache_cb, priv);
}
-/**
- * gpk_application_package_row_activated_cb:
- **/
static void
gpk_application_package_row_activated_cb (GtkTreeView *treeview, GtkTreePath *path,
GtkTreeViewColumn *col, GpkApplicationPrivate *priv)
@@ -2669,9 +2479,6 @@ out:
g_free (package_id);
}
-/**
- * gpk_application_group_row_separator_func:
- **/
static gboolean
gpk_application_group_row_separator_func (GtkTreeModel *model, GtkTreeIter *iter, GpkApplicationPrivate
*priv)
{
@@ -2683,9 +2490,6 @@ gpk_application_group_row_separator_func (GtkTreeModel *model, GtkTreeIter *iter
return ret;
}
-/**
- * gpk_application_add_welcome:
- **/
static void
gpk_application_add_welcome (GpkApplicationPrivate *priv)
{
@@ -2716,9 +2520,6 @@ gpk_application_add_welcome (GpkApplicationPrivate *priv)
-1);
}
-/**
- * gpk_application_create_group_array_enum:
- **/
static void
gpk_application_create_group_array_enum (GpkApplicationPrivate *priv)
{
@@ -2741,9 +2542,6 @@ gpk_application_create_group_array_enum (GpkApplicationPrivate *priv)
}
}
-/**
- * gpk_application_get_categories_cb:
- **/
static void
gpk_application_get_categories_cb (PkClient *client, GAsyncResult *res, GpkApplicationPrivate *priv)
{
@@ -2863,9 +2661,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_application_create_group_array_categories:
- **/
static void
gpk_application_create_group_array_categories (GpkApplicationPrivate *priv)
{
@@ -2878,11 +2673,6 @@ gpk_application_create_group_array_categories (GpkApplicationPrivate *priv)
(GAsyncReadyCallback) gpk_application_get_categories_cb, priv);
}
-/**
- * gpk_application_key_changed_cb:
- *
- * We might have to do things when the keys change; do them here.
- **/
static void
gpk_application_key_changed_cb (GSettings *settings, const gchar *key, GpkApplicationPrivate *priv)
{
@@ -2924,9 +2714,6 @@ gpk_application_key_changed_cb (GSettings *settings, const gchar *key, GpkApplic
}
}
-/**
- * pk_backend_status_get_properties_cb:
- **/
static void
pk_backend_status_get_properties_cb (GObject *object, GAsyncResult *res, GpkApplicationPrivate *priv)
{
@@ -3052,9 +2839,6 @@ out:
return;
}
-/**
- * gpk_application_get_repo_list_cb:
- **/
static void
gpk_application_get_repo_list_cb (PkClient *client, GAsyncResult *res, GpkApplicationPrivate *priv)
{
@@ -3116,9 +2900,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_application_activate_cb:
- **/
static void
gpk_application_activate_cb (GtkApplication *_application, GpkApplicationPrivate *priv)
{
@@ -3127,9 +2908,6 @@ gpk_application_activate_cb (GtkApplication *_application, GpkApplicationPrivate
gtk_window_present (window);
}
-/**
- * gpk_application_startup_cb:
- **/
static void
gpk_application_startup_cb (GtkApplication *application, GpkApplicationPrivate *priv)
{
@@ -3389,9 +3167,6 @@ static GActionEntry gpk_menu_app_entries[] = {
{ "about", gpk_application_activate_about_cb, NULL, NULL, NULL },
};
-/**
- * main:
- **/
int
main (int argc, char *argv[])
{
diff --git a/src/gpk-cell-renderer-info.c b/src/gpk-cell-renderer-info.c
index 020b8df..c6d5998 100644
--- a/src/gpk-cell-renderer-info.c
+++ b/src/gpk-cell-renderer-info.c
@@ -122,10 +122,6 @@ gpk_cell_renderer_info_set_property (GObject *object, guint param_id,
}
}
-/**
- * gpk_cell_renderer_finalize:
- * @object: The object to finalize
- **/
static void
gpk_cell_renderer_finalize (GObject *object)
{
@@ -156,9 +152,6 @@ gpk_cell_renderer_info_class_init (GpkCellRendererInfoClass *class)
g_type_class_add_private (object_class, sizeof (GpkCellRendererInfoPrivate));
}
-/**
- * gpk_cell_renderer_info_init:
- **/
static void
gpk_cell_renderer_info_init (GpkCellRendererInfo *cru)
{
@@ -168,9 +161,6 @@ gpk_cell_renderer_info_init (GpkCellRendererInfo *cru)
cru->priv->ignore = g_ptr_array_new ();
}
-/**
- * gpk_cell_renderer_info_new:
- **/
GtkCellRenderer *
gpk_cell_renderer_info_new (void)
{
diff --git a/src/gpk-cell-renderer-restart.c b/src/gpk-cell-renderer-restart.c
index 9da9cfd..06c9b8b 100644
--- a/src/gpk-cell-renderer-restart.c
+++ b/src/gpk-cell-renderer-restart.c
@@ -72,10 +72,6 @@ gpk_cell_renderer_restart_set_property (GObject *object, guint param_id,
}
}
-/**
- * gpk_cell_renderer_finalize:
- * @object: The object to finalize
- **/
static void
gpk_cell_renderer_finalize (GObject *object)
{
@@ -98,9 +94,6 @@ gpk_cell_renderer_restart_class_init (GpkCellRendererRestartClass *class)
"VALUE", 0, G_MAXUINT, PK_RESTART_ENUM_NONE, G_PARAM_READWRITE));
}
-/**
- * gpk_cell_renderer_restart_init:
- **/
static void
gpk_cell_renderer_restart_init (GpkCellRendererRestart *cru)
{
@@ -108,9 +101,6 @@ gpk_cell_renderer_restart_init (GpkCellRendererRestart *cru)
cru->icon_name = NULL;
}
-/**
- * gpk_cell_renderer_restart_new:
- **/
GtkCellRenderer *
gpk_cell_renderer_restart_new (void)
{
diff --git a/src/gpk-cell-renderer-size.c b/src/gpk-cell-renderer-size.c
index 8891123..d65e46f 100644
--- a/src/gpk-cell-renderer-size.c
+++ b/src/gpk-cell-renderer-size.c
@@ -74,10 +74,6 @@ gpk_cell_renderer_size_set_property (GObject *object, guint param_id,
}
}
-/**
- * gpk_cell_renderer_finalize:
- * @object: The object to finalize
- **/
static void
gpk_cell_renderer_finalize (GObject *object)
{
@@ -103,9 +99,6 @@ gpk_cell_renderer_size_class_init (GpkCellRendererSizeClass *class)
"VALUE", 0, G_MAXUINT, 0, G_PARAM_READWRITE));
}
-/**
- * gpk_cell_renderer_size_init:
- **/
static void
gpk_cell_renderer_size_init (GpkCellRendererSize *cru)
{
@@ -113,9 +106,6 @@ gpk_cell_renderer_size_init (GpkCellRendererSize *cru)
cru->markup = NULL;
}
-/**
- * gpk_cell_renderer_size_new:
- **/
GtkCellRenderer *
gpk_cell_renderer_size_new (void)
{
diff --git a/src/gpk-common.c b/src/gpk-common.c
index 7061904..baf4ee7 100644
--- a/src/gpk-common.c
+++ b/src/gpk-common.c
@@ -72,9 +72,6 @@ pk_strv_to_ptr_array (gchar **array)
return parray;
}
-/**
- * gpk_window_set_size_request:
- **/
gboolean
gpk_window_set_size_request (GtkWindow *window, guint width, guint height)
{
@@ -116,9 +113,6 @@ out:
return !small_form_factor_mode;
}
-/**
- * gpk_window_set_parent_xid:
- **/
gboolean
gpk_window_set_parent_xid (GtkWindow *window, guint32 xid)
{
@@ -138,9 +132,6 @@ gpk_window_set_parent_xid (GtkWindow *window, guint32 xid)
return TRUE;
}
-/**
- * gpk_get_pretty_arch:
- **/
static const gchar *
gpk_get_pretty_arch (const gchar *arch)
{
@@ -166,11 +157,6 @@ out:
return id;
}
-/**
- * gpk_package_id_format_twoline:
- *
- * Return value: "<b>GTK Toolkit</b>\ngtk2-2.12.2 (i386)"
- **/
gchar *
gpk_package_id_format_twoline (GtkStyleContext *style,
const gchar *package_id,
@@ -238,11 +224,6 @@ out:
return text;
}
-/**
- * gpk_package_id_format_oneline:
- *
- * Return value: "<b>GTK Toolkit</b> (gtk2)"
- **/
gchar *
gpk_package_id_format_oneline (const gchar *package_id, const gchar *summary)
{
@@ -265,9 +246,6 @@ gpk_package_id_format_oneline (const gchar *package_id, const gchar *summary)
return text;
}
-/**
- * gpk_check_privileged_user
- **/
gboolean
gpk_check_privileged_user (const gchar *application_name, gboolean show_ui)
{
@@ -482,11 +460,6 @@ gpk_strv_join_locale (gchar **array)
return NULL;
}
-/**
- * gpk_package_entry_completion_new:
- *
- * Creates a %GtkEntryCompletion containing completions from the system package list
- **/
GtkEntryCompletion *
gpk_package_entry_completion_new (void)
{
diff --git a/src/gpk-debug.c b/src/gpk-debug.c
index 96e5410..93ad985 100644
--- a/src/gpk-debug.c
+++ b/src/gpk-debug.c
@@ -30,9 +30,6 @@
static gboolean _verbose = FALSE;
static gboolean _console = FALSE;
-/**
- * gpk_debug_ignore_cb:
- **/
static void
gpk_debug_ignore_cb (const gchar *log_domain, GLogLevelFlags log_level,
const gchar *message, gpointer user_data)
@@ -51,9 +48,6 @@ gpk_debug_ignore_cb (const gchar *log_domain, GLogLevelFlags log_level,
#define GPK_DEBUG_LOG_DOMAIN_LENGTH 20
-/**
- * gpk_debug_handler_cb:
- **/
static void
gpk_debug_handler_cb (const gchar *log_domain, GLogLevelFlags log_level,
const gchar *message, gpointer user_data)
@@ -101,9 +95,6 @@ gpk_debug_handler_cb (const gchar *log_domain, GLogLevelFlags log_level,
}
}
-/**
- * gpk_debug_pre_parse_hook:
- */
static gboolean
gpk_debug_pre_parse_hook (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error)
{
@@ -119,9 +110,6 @@ gpk_debug_pre_parse_hook (GOptionContext *context, GOptionGroup *group, gpointer
return TRUE;
}
-/**
- * gpk_debug_add_log_domain:
- */
void
gpk_debug_add_log_domain (const gchar *log_domain)
{
@@ -141,9 +129,6 @@ gpk_debug_add_log_domain (const gchar *log_domain)
}
}
-/**
- * gpk_debug_post_parse_hook:
- */
static gboolean
gpk_debug_post_parse_hook (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error)
{
diff --git a/src/gpk-dialog.c b/src/gpk-dialog.c
index 97fa1ec..dc97320 100644
--- a/src/gpk-dialog.c
+++ b/src/gpk-dialog.c
@@ -37,9 +37,6 @@ enum {
GPK_DIALOG_STORE_LAST
};
-/**
- * gpk_dialog_package_id_name_join_locale:
- **/
gchar *
gpk_dialog_package_id_name_join_locale (gchar **package_ids)
{
@@ -72,9 +69,6 @@ gpk_dialog_package_id_name_join_locale (gchar **package_ids)
return text;
}
-/**
- * gpk_dialog_package_array_to_list_store:
- **/
static GtkListStore *
gpk_dialog_package_array_to_list_store (GPtrArray *array)
{
@@ -120,9 +114,6 @@ gpk_dialog_package_array_to_list_store (GPtrArray *array)
return store;
}
-/**
- * gpk_dialog_treeview_for_package_list:
- **/
static gboolean
gpk_dialog_treeview_for_package_list (GtkTreeView *treeview)
{
@@ -154,18 +145,12 @@ gpk_dialog_treeview_for_package_list (GtkTreeView *treeview)
return TRUE;
}
-/**
- * gpk_dialog_widget_unrealize_unref_cb:
- **/
static void
gpk_dialog_widget_unrealize_unref_cb (GtkWidget *widget, GObject *obj)
{
g_object_unref (obj);
}
-/**
- * gpk_dialog_embed_package_list_widget:
- **/
gboolean
gpk_dialog_embed_package_list_widget (GtkDialog *dialog, GPtrArray *array)
{
@@ -212,9 +197,6 @@ gpk_dialog_embed_package_list_widget (GtkDialog *dialog, GPtrArray *array)
return TRUE;
}
-/**
- * gpk_dialog_embed_file_list_widget:
- **/
gboolean
gpk_dialog_embed_file_list_widget (GtkDialog *dialog, GPtrArray *files)
{
@@ -263,9 +245,6 @@ gpk_dialog_embed_file_list_widget (GtkDialog *dialog, GPtrArray *files)
return TRUE;
}
-/**
- * gpk_client_checkbutton_show_depends_cb:
- **/
static void
gpk_client_checkbutton_show_depends_cb (GtkWidget *widget, const gchar *key)
{
@@ -280,9 +259,6 @@ gpk_client_checkbutton_show_depends_cb (GtkWidget *widget, const gchar *key)
g_object_unref (settings);
}
-/**
- * gpk_dialog_embed_do_not_show_widget:
- **/
gboolean
gpk_dialog_embed_do_not_show_widget (GtkDialog *dialog, const gchar *key)
{
@@ -310,9 +286,6 @@ gpk_dialog_embed_do_not_show_widget (GtkDialog *dialog, const gchar *key)
return TRUE;
}
-/**
- * gpk_dialog_embed_tabbed_widget
- **/
gboolean
gpk_dialog_embed_tabbed_widget (GtkDialog *dialog, GtkNotebook *tabbed_widget)
{
@@ -331,9 +304,6 @@ gpk_dialog_embed_tabbed_widget (GtkDialog *dialog, GtkNotebook *tabbed_widget)
return TRUE;
}
-/**
- * gpk_dialog_tabbed_package_list_widget:
- **/
gboolean
gpk_dialog_tabbed_package_list_widget (GtkWidget *tab_page, GPtrArray *array)
{
@@ -379,9 +349,6 @@ gpk_dialog_tabbed_package_list_widget (GtkWidget *tab_page, GPtrArray *array)
return TRUE;
}
-/**
- * gpk_dialog_tabbed_download_size_widget:
- **/
gboolean
gpk_dialog_tabbed_download_size_widget (GtkWidget *tab_page, const gchar *title, guint64 size)
{
diff --git a/src/gpk-enum.c b/src/gpk-enum.c
index d6b22a5..7825d9e 100644
--- a/src/gpk-enum.c
+++ b/src/gpk-enum.c
@@ -185,9 +185,6 @@ static const PkEnumMatch enum_restart_icon_name[] = {
{0, NULL}
};
-/**
- * gpk_media_type_enum_to_localised_text:
- **/
const gchar *
gpk_media_type_enum_to_localised_text (PkMediaTypeEnum type)
{
@@ -215,9 +212,6 @@ gpk_media_type_enum_to_localised_text (PkMediaTypeEnum type)
return text;
}
-/**
- * gpk_error_enum_to_localised_text:
- **/
const gchar *
gpk_error_enum_to_localised_text (PkErrorEnum code)
{
@@ -433,9 +427,6 @@ gpk_error_enum_to_localised_text (PkErrorEnum code)
return text;
}
-/**
- * gpk_error_enum_to_localised_message:
- **/
const gchar *
gpk_error_enum_to_localised_message (PkErrorEnum code)
{
@@ -690,9 +681,6 @@ gpk_error_enum_to_localised_message (PkErrorEnum code)
return text;
}
-/**
- * gpk_restart_enum_to_localised_text_future:
- **/
const gchar *
gpk_restart_enum_to_localised_text_future (PkRestartEnum restart)
{
@@ -722,9 +710,6 @@ gpk_restart_enum_to_localised_text_future (PkRestartEnum restart)
return text;
}
-/**
- * gpk_restart_enum_to_localised_text:
- **/
const gchar *
gpk_restart_enum_to_localised_text (PkRestartEnum restart)
{
@@ -754,9 +739,6 @@ gpk_restart_enum_to_localised_text (PkRestartEnum restart)
return text;
}
-/**
- * gpk_status_enum_to_localised_text:
- **/
const gchar *
gpk_status_enum_to_localised_text (PkStatusEnum status)
{
@@ -912,9 +894,6 @@ gpk_status_enum_to_localised_text (PkStatusEnum status)
return text;
}
-/**
- * gpk_info_enum_to_localised_text:
- **/
const gchar *
gpk_info_enum_to_localised_text (PkInfoEnum info)
{
@@ -972,9 +951,6 @@ gpk_info_enum_to_localised_text (PkInfoEnum info)
return text;
}
-/**
- * gpk_info_enum_to_localised_present:
- **/
static const gchar *
gpk_info_enum_to_localised_present (PkInfoEnum info)
{
@@ -1022,9 +998,6 @@ gpk_info_enum_to_localised_present (PkInfoEnum info)
return text;
}
-/**
- * gpk_info_enum_to_localised_past:
- **/
const gchar *
gpk_info_enum_to_localised_past (PkInfoEnum info)
{
@@ -1072,9 +1045,6 @@ gpk_info_enum_to_localised_past (PkInfoEnum info)
return text;
}
-/**
- * gpk_role_enum_to_localised_present:
- **/
const gchar *
gpk_role_enum_to_localised_present (PkRoleEnum role)
{
@@ -1212,11 +1182,6 @@ gpk_role_enum_to_localised_present (PkRoleEnum role)
return text;
}
-/**
- * gpk_role_enum_to_localised_past:
- *
- * These are past tense versions of the action
- **/
const gchar *
gpk_role_enum_to_localised_past (PkRoleEnum role)
{
@@ -1354,9 +1319,6 @@ gpk_role_enum_to_localised_past (PkRoleEnum role)
return text;
}
-/**
- * gpk_group_enum_to_localised_text:
- **/
const gchar *
gpk_group_enum_to_localised_text (PkGroupEnum group)
{
@@ -1508,45 +1470,30 @@ gpk_group_enum_to_localised_text (PkGroupEnum group)
return text;
}
-/**
- * gpk_info_enum_to_icon_name:
- **/
const gchar *
gpk_info_enum_to_icon_name (PkInfoEnum info)
{
return pk_enum_find_string (enum_info_icon_name, info);
}
-/**
- * gpk_status_enum_to_icon_name:
- **/
const gchar *
gpk_status_enum_to_icon_name (PkStatusEnum status)
{
return pk_enum_find_string (enum_status_icon_name, status);
}
-/**
- * gpk_role_enum_to_icon_name:
- **/
const gchar *
gpk_role_enum_to_icon_name (PkRoleEnum role)
{
return pk_enum_find_string (enum_role_icon_name, role);
}
-/**
- * gpk_group_enum_to_icon_name:
- **/
const gchar *
gpk_group_enum_to_icon_name (PkGroupEnum group)
{
return pk_enum_find_string (enum_group_icon_name, group);
}
-/**
- * gpk_restart_enum_to_icon_name:
- **/
const gchar *
gpk_restart_enum_to_icon_name (PkRestartEnum restart)
{
@@ -1557,9 +1504,6 @@ gpk_restart_enum_to_icon_name (PkRestartEnum restart)
return tmp;
}
-/**
- * gpk_info_status_enum_to_string:
- **/
const gchar *
gpk_info_status_enum_to_string (GpkInfoStatusEnum info)
{
@@ -1568,9 +1512,6 @@ gpk_info_status_enum_to_string (GpkInfoStatusEnum info)
return gpk_info_enum_to_localised_present (info);
}
-/**
- * gpk_info_status_enum_to_icon_name:
- **/
const gchar *
gpk_info_status_enum_to_icon_name (GpkInfoStatusEnum info)
{
diff --git a/src/gpk-error.c b/src/gpk-error.c
index b5521f7..42ab26a 100644
--- a/src/gpk-error.c
+++ b/src/gpk-error.c
@@ -31,9 +31,6 @@
#include "gpk-common.h"
#include "gpk-error.h"
-/**
- * gpk_error_dialog_expanded_cb:
- **/
static void
gpk_error_dialog_expanded_cb (GObject *object, GParamSpec *param_spec, GtkBuilder *builder)
{
diff --git a/src/gpk-log.c b/src/gpk-log.c
index be2ec9c..998ce3d 100644
--- a/src/gpk-log.c
+++ b/src/gpk-log.c
@@ -58,9 +58,6 @@ enum
GPK_LOG_COLUMN_LAST
};
-/**
- * gpk_log_find_iter_model_cb:
- **/
static gboolean
gpk_log_find_iter_model_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, const gchar *id)
{
@@ -73,9 +70,6 @@ gpk_log_find_iter_model_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter
return FALSE;
}
-/**
- * gpk_log_mark_nonactive_cb:
- **/
static gboolean
gpk_log_mark_nonactive_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data)
{
@@ -83,18 +77,12 @@ gpk_log_mark_nonactive_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *
return FALSE;
}
-/**
- * gpk_log_mark_nonactive:
- **/
static void
gpk_log_mark_nonactive (GtkTreeModel *model)
{
gtk_tree_model_foreach (model, (GtkTreeModelForeachFunc) gpk_log_mark_nonactive_cb, NULL);
}
-/**
- * gpk_log_remove_nonactive_cb:
- **/
static gboolean
gpk_log_remove_nonactive_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gboolean *ret)
{
@@ -108,9 +96,6 @@ gpk_log_remove_nonactive_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter
return FALSE;
}
-/**
- * gpk_log_remove_nonactive:
- **/
static void
gpk_log_remove_nonactive (GtkTreeModel *model)
{
@@ -122,9 +107,6 @@ gpk_log_remove_nonactive (GtkTreeModel *model)
} while (ret);
}
-/**
- * gpk_log_model_get_iter:
- **/
static gboolean
gpk_log_model_get_iter (GtkTreeModel *model, GtkTreeIter *iter, const gchar *id)
{
@@ -140,9 +122,6 @@ gpk_log_model_get_iter (GtkTreeModel *model, GtkTreeIter *iter, const gchar *id)
return ret;
}
-/**
- * gpk_log_get_localised_date:
- **/
static gchar *
gpk_log_get_localised_date (const gchar *timespec)
{
@@ -164,9 +143,6 @@ gpk_log_get_localised_date (const gchar *timespec)
return g_strdup (buffer);
}
-/**
- * gpk_log_get_type_line:
- **/
static gchar *
gpk_log_get_type_line (gchar **array, PkInfoEnum info)
{
@@ -211,9 +187,6 @@ gpk_log_get_type_line (gchar **array, PkInfoEnum info)
return whole;
}
-/**
- * gpk_log_get_details_localised:
- **/
static gchar *
gpk_log_get_details_localised (const gchar *timespec, const gchar *data)
{
@@ -246,9 +219,6 @@ gpk_log_get_details_localised (const gchar *timespec, const gchar *data)
return g_string_free (string, FALSE);
}
-/**
- * gpk_log_treeview_size_allocate_cb:
- **/
static void
gpk_log_treeview_size_allocate_cb (GtkWidget *widget, GtkAllocation *allocation, GtkCellRenderer *cell)
{
@@ -260,9 +230,6 @@ gpk_log_treeview_size_allocate_cb (GtkWidget *widget, GtkAllocation *allocation,
g_object_set (cell, "wrap-width", width - 10, NULL);
}
-/**
- * pk_treeview_add_general_columns:
- **/
static void
pk_treeview_add_general_columns (GtkTreeView *treeview)
{
@@ -329,9 +296,6 @@ pk_treeview_add_general_columns (GtkTreeView *treeview)
gtk_tree_view_column_set_sort_column_id (column, GPK_LOG_COLUMN_TOOL);
}
-/**
- * gpk_log_treeview_clicked_cb:
- **/
static void
gpk_log_treeview_clicked_cb (GtkTreeSelection *selection, gpointer data)
{
@@ -352,9 +316,6 @@ gpk_log_treeview_clicked_cb (GtkTreeSelection *selection, gpointer data)
}
}
-/**
- * gpk_log_filter:
- **/
static gboolean
gpk_log_filter (PkTransactionPast *item)
{
@@ -425,9 +386,6 @@ gpk_log_filter (PkTransactionPast *item)
return ret;
}
-/**
- * gpk_log_add_item
- **/
static void
gpk_log_add_item (PkTransactionPast *item)
{
@@ -530,9 +488,6 @@ gpk_log_add_item (PkTransactionPast *item)
g_free (date);
}
-/**
- * gpk_log_refilter
- **/
static void
gpk_log_refilter (void)
{
@@ -572,9 +527,6 @@ gpk_log_refilter (void)
gpk_log_remove_nonactive (model);
}
-/**
- * gpk_log_get_old_transactions_cb
- **/
static void
gpk_log_get_old_transactions_cb (GObject *object, GAsyncResult *res, gpointer user_data)
{
@@ -610,9 +562,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_log_refresh
- **/
static void
gpk_log_refresh (void)
{
@@ -621,9 +570,6 @@ gpk_log_refresh (void)
(GAsyncReadyCallback) gpk_log_get_old_transactions_cb, NULL);
}
-/**
- * gpk_log_button_refresh_cb:
- **/
static void
gpk_log_button_refresh_cb (GtkWidget *widget, gpointer data)
{
@@ -631,18 +577,12 @@ gpk_log_button_refresh_cb (GtkWidget *widget, gpointer data)
gpk_log_refresh ();
}
-/**
- * gpk_log_button_filter_cb:
- **/
static void
gpk_log_button_filter_cb (GtkWidget *widget2, gpointer data)
{
gpk_log_refilter ();
}
-/**
- * gpk_log_entry_filter_cb:
- **/
static gboolean
gpk_log_entry_filter_cb (GtkWidget *widget, GdkEventKey *event, gpointer user_data)
{
@@ -650,18 +590,12 @@ gpk_log_entry_filter_cb (GtkWidget *widget, GdkEventKey *event, gpointer user_da
return FALSE;
}
-/**
- * gpk_log_button_close_cb:
- **/
static void
gpk_log_button_close_cb (GtkWidget *widget, GtkApplication *application)
{
g_application_release (G_APPLICATION (application));
}
-/**
- * gpk_log_activate_cb:
- **/
static void
gpk_log_activate_cb (GtkApplication *application, gpointer user_data)
{
@@ -670,9 +604,6 @@ gpk_log_activate_cb (GtkApplication *application, gpointer user_data)
gtk_window_present (window);
}
-/**
- * gpk_log_startup_cb:
- **/
static void
gpk_log_startup_cb (GtkApplication *application, gpointer user_data)
{
@@ -784,9 +715,6 @@ out:
g_ptr_array_unref (transactions);
}
-/**
- * main:
- **/
int
main (int argc, char *argv[])
{
diff --git a/src/gpk-prefs.c b/src/gpk-prefs.c
index 2792aed..04595e2 100644
--- a/src/gpk-prefs.c
+++ b/src/gpk-prefs.c
@@ -56,9 +56,6 @@ enum {
GPK_COLUMN_LAST
};
-/**
- * gpk_prefs_find_iter_model_cb:
- **/
static gboolean
gpk_prefs_find_iter_model_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, GpkPrefsPrivate
*priv)
{
@@ -73,9 +70,6 @@ gpk_prefs_find_iter_model_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIte
return FALSE;
}
-/**
- * gpk_prefs_mark_nonactive_cb:
- **/
static gboolean
gpk_prefs_mark_nonactive_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, GpkPrefsPrivate
*priv)
{
@@ -85,18 +79,12 @@ gpk_prefs_mark_nonactive_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter
return FALSE;
}
-/**
- * gpk_prefs_mark_nonactive:
- **/
static void
gpk_prefs_mark_nonactive (GpkPrefsPrivate *priv, GtkTreeModel *model)
{
gtk_tree_model_foreach (model, (GtkTreeModelForeachFunc) gpk_prefs_mark_nonactive_cb, priv);
}
-/**
- * gpk_prefs_model_get_iter:
- **/
static gboolean
gpk_prefs_model_get_iter (GpkPrefsPrivate *priv, GtkTreeModel *model, GtkTreeIter *iter, const gchar *id)
{
@@ -113,9 +101,6 @@ gpk_prefs_model_get_iter (GpkPrefsPrivate *priv, GtkTreeModel *model, GtkTreeIte
return ret;
}
-/**
- * gpk_prefs_remove_nonactive_cb:
- **/
static gboolean
gpk_prefs_remove_nonactive_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gboolean *ret)
{
@@ -131,9 +116,6 @@ gpk_prefs_remove_nonactive_cb (GtkTreeModel *model, GtkTreePath *path, GtkTreeIt
return FALSE;
}
-/**
- * gpk_prefs_remove_nonactive:
- **/
static void
gpk_prefs_remove_nonactive (GtkTreeModel *model)
{
@@ -145,9 +127,6 @@ gpk_prefs_remove_nonactive (GtkTreeModel *model)
} while (ret);
}
-/**
- * gpk_prefs_status_changed_timeout_cb:
- **/
static gboolean
gpk_prefs_status_changed_timeout_cb (GpkPrefsPrivate *priv)
{
@@ -164,9 +143,6 @@ gpk_prefs_status_changed_timeout_cb (GpkPrefsPrivate *priv)
return FALSE;
}
-/**
- * gpk_prefs_progress_cb:
- **/
static void
gpk_prefs_progress_cb (PkProgress *progress, PkProgressType type, GpkPrefsPrivate *priv)
{
@@ -205,9 +181,6 @@ out:
return;
}
-/**
- * gpk_prefs_repo_enable_cb
- **/
static void
gpk_prefs_repo_enable_cb (GObject *object, GAsyncResult *res, GpkPrefsPrivate *priv)
{
@@ -287,9 +260,6 @@ out:
gtk_tree_path_free (path);
}
-/**
- * gpk_treeview_add_columns:
- **/
static void
gpk_treeview_add_columns (GpkPrefsPrivate *priv, GtkTreeView *treeview)
{
@@ -317,9 +287,6 @@ gpk_treeview_add_columns (GpkPrefsPrivate *priv, GtkTreeView *treeview)
gtk_tree_view_append_column (treeview, column);
}
-/**
- * gpk_repos_treeview_clicked_cb:
- **/
static void
gpk_repos_treeview_clicked_cb (GtkTreeSelection *selection, GpkPrefsPrivate *priv)
{
@@ -337,9 +304,6 @@ gpk_repos_treeview_clicked_cb (GtkTreeSelection *selection, GpkPrefsPrivate *pri
}
}
-/**
- * gpk_prefs_get_repo_list_cb
- **/
static void
gpk_prefs_get_repo_list_cb (GObject *object, GAsyncResult *res, GpkPrefsPrivate *priv)
{
@@ -416,9 +380,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_prefs_repo_list_refresh:
- **/
static void
gpk_prefs_repo_list_refresh (GpkPrefsPrivate *priv)
{
@@ -446,27 +407,18 @@ gpk_prefs_repo_list_refresh (GpkPrefsPrivate *priv)
(GAsyncReadyCallback) gpk_prefs_get_repo_list_cb, priv);
}
-/**
- * gpk_prefs_repo_list_changed_cb:
- **/
static void
gpk_prefs_repo_list_changed_cb (PkControl *control, GpkPrefsPrivate *priv)
{
gpk_prefs_repo_list_refresh (priv);
}
-/**
- * gpk_prefs_checkbutton_detail_cb:
- **/
static void
gpk_prefs_checkbutton_detail_cb (GtkWidget *widget, GpkPrefsPrivate *priv)
{
gpk_prefs_repo_list_refresh (priv);
}
-/**
- * gpk_prefs_get_properties_cb:
- **/
static void
gpk_prefs_get_properties_cb (GObject *object, GAsyncResult *res, GpkPrefsPrivate *priv)
{
@@ -514,9 +466,6 @@ out:
return;
}
-/**
- * gpk_prefs_close_cb:
- **/
static void
gpk_prefs_close_cb (GtkWidget *widget, gpointer data)
{
@@ -524,9 +473,6 @@ gpk_prefs_close_cb (GtkWidget *widget, gpointer data)
g_application_release (G_APPLICATION (priv->application));
}
-/**
- * gpk_pack_startup_cb:
- **/
static void
gpk_pack_startup_cb (GtkApplication *application, GpkPrefsPrivate *priv)
{
@@ -591,9 +537,6 @@ out:
}
-/**
- * gpm_prefs_commandline_cb:
- **/
static int
gpm_prefs_commandline_cb (GApplication *application,
GApplicationCommandLine *cmdline,
@@ -640,9 +583,6 @@ out:
return ret;
}
-/**
- * main:
- **/
int
main (int argc, char *argv[])
{
diff --git a/src/gpk-self-test.c b/src/gpk-self-test.c
index 2f15dc2..8aae381 100644
--- a/src/gpk-self-test.c
+++ b/src/gpk-self-test.c
@@ -40,9 +40,6 @@ _g_test_hang_wait_cb (gpointer user_data)
return FALSE;
}
-/**
- * _g_test_loop_wait:
- **/
static void
_g_test_loop_wait (guint timeout_ms)
{
@@ -52,9 +49,6 @@ _g_test_loop_wait (guint timeout_ms)
g_main_loop_run (_test_loop);
}
-/**
- * _g_test_loop_quit:
- **/
static void
_g_test_loop_quit (void)
{
diff --git a/src/gpk-task.c b/src/gpk-task.c
index d34d103..733105e 100644
--- a/src/gpk-task.c
+++ b/src/gpk-task.c
@@ -33,11 +33,6 @@ static void gpk_task_finalize (GObject *object);
#define GPK_TASK_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GPK_TYPE_TASK, GpkTaskPrivate))
-/**
- * GpkTaskPrivate:
- *
- * Private #GpkTask data
- **/
struct _GpkTaskPrivate
{
gpointer user_data;
@@ -53,9 +48,6 @@ struct _GpkTaskPrivate
G_DEFINE_TYPE (GpkTask, gpk_task, PK_TYPE_TASK)
-/**
- * gpk_task_set_parent_window:
- **/
gboolean
gpk_task_set_parent_window (GpkTask *task, GtkWindow *parent_window)
{
@@ -65,9 +57,6 @@ gpk_task_set_parent_window (GpkTask *task, GtkWindow *parent_window)
return TRUE;
}
-/**
- * gpk_task_button_accept_cb:
- **/
static void
gpk_task_button_accept_cb (GtkWidget *widget, GpkTask *task)
{
@@ -77,9 +66,6 @@ gpk_task_button_accept_cb (GtkWidget *widget, GpkTask *task)
task->priv->current_window = NULL;
}
-/**
- * gpk_task_button_decline_cb:
- **/
static void
gpk_task_button_decline_cb (GtkWidget *widget, GpkTask *task)
{
@@ -89,9 +75,6 @@ gpk_task_button_decline_cb (GtkWidget *widget, GpkTask *task)
task->priv->current_window = NULL;
}
-/**
- * gpk_task_dialog_response_cb:
- **/
static void
gpk_task_dialog_response_cb (GtkDialog *dialog, gint response_id, GpkTask *task)
{
@@ -103,9 +86,6 @@ gpk_task_dialog_response_cb (GtkDialog *dialog, gint response_id, GpkTask *task)
gpk_task_button_decline_cb (GTK_WIDGET(dialog), task);
}
-/**
- * gpk_task_untrusted_question:
- **/
static void
gpk_task_untrusted_question (PkTask *task, guint request, PkResults *results)
{
@@ -160,9 +140,6 @@ gpk_task_untrusted_question (PkTask *task, guint request, PkResults *results)
gtk_widget_show (GTK_WIDGET(priv->current_window));
}
-/**
- * gpk_task_key_question:
- **/
static void
gpk_task_key_question (PkTask *task, guint request, PkResults *results)
{
@@ -231,9 +208,6 @@ out:
g_ptr_array_unref (array);
}
-/**
- * gpk_task_eula_question:
- **/
static void
gpk_task_eula_question (PkTask *task, guint request, PkResults *results)
{
@@ -302,9 +276,6 @@ out:
g_ptr_array_unref (array);
}
-/**
- * gpk_task_media_change_question:
- **/
static void
gpk_task_media_change_question (PkTask *task, guint request, PkResults *results)
{
@@ -358,9 +329,6 @@ out:
g_ptr_array_unref (array);
}
-/**
- * gpk_task_add_dialog_deps_section:
- **/
static void
gpk_task_add_dialog_deps_section (PkTask *task,
GtkNotebook *tabbed_widget,
@@ -443,9 +411,6 @@ out:
g_object_unref (sack_tmp);
}
-/**
- * gpk_task_simulate_question:
- **/
static void
gpk_task_simulate_question (PkTask *task, guint request, PkResults *results)
{
@@ -563,9 +528,6 @@ out:
g_ptr_array_unref (array);
}
-/**
- * gpk_task_setup_dialog_untrusted:
- **/
static void
gpk_task_setup_dialog_untrusted (GpkTask *task)
{
@@ -610,9 +572,6 @@ gpk_task_setup_dialog_untrusted (GpkTask *task)
gtk_widget_show (button);
}
-/**
- * gpk_task_setup_dialog_signature:
- **/
static void
gpk_task_setup_dialog_signature (GpkTask *task)
{
@@ -643,9 +602,6 @@ gpk_task_setup_dialog_signature (GpkTask *task)
g_signal_connect (widget, "clicked", G_CALLBACK (gpk_task_button_decline_cb), task);
}
-/**
- * gpk_task_setup_dialog_eula:
- **/
static void
gpk_task_setup_dialog_eula (GpkTask *task)
{
@@ -676,9 +632,6 @@ gpk_task_setup_dialog_eula (GpkTask *task)
g_signal_connect (widget, "clicked", G_CALLBACK (gpk_task_button_decline_cb), task);
}
-/**
- * gpk_task_class_init:
- **/
static void
gpk_task_class_init (GpkTaskClass *klass)
{
@@ -695,10 +648,6 @@ gpk_task_class_init (GpkTaskClass *klass)
g_type_class_add_private (klass, sizeof (GpkTaskPrivate));
}
-/**
- * gpk_task_init:
- * @task: This class instance
- **/
static void
gpk_task_init (GpkTask *task)
{
@@ -714,10 +663,6 @@ gpk_task_init (GpkTask *task)
gpk_task_setup_dialog_signature (task);
}
-/**
- * gpk_task_finalize:
- * @object: The object to finalize
- **/
static void
gpk_task_finalize (GObject *object)
{
@@ -731,11 +676,6 @@ gpk_task_finalize (GObject *object)
G_OBJECT_CLASS (gpk_task_parent_class)->finalize (object);
}
-/**
- * gpk_task_new:
- *
- * Return value: a new GpkTask object.
- **/
GpkTask *
gpk_task_new (void)
{
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 3d3b094..5adb84f 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -103,9 +103,6 @@ _g_strzero (const gchar *text)
return FALSE;
}
-/**
- * gpk_update_viewer_quit:
- **/
static void
gpk_update_viewer_quit (void)
{
@@ -114,18 +111,12 @@ gpk_update_viewer_quit (void)
g_application_release (G_APPLICATION (application));
}
-/**
- * gpk_update_viewer_button_quit_cb:
- **/
static void
gpk_update_viewer_button_quit_cb (GtkWidget *widget, gpointer user_data)
{
gpk_update_viewer_quit ();
}
-/**
- * gpk_update_viewer_packages_set_sensitive:
- **/
static void
gpk_update_viewer_packages_set_sensitive (gboolean sensitive)
{
@@ -161,9 +152,6 @@ gpk_update_viewer_packages_set_sensitive (gboolean sensitive)
}
}
-/**
- * gpk_update_viewer_auto_shutdown_cb:
- **/
static gboolean
gpk_update_viewer_auto_shutdown_cb (GtkDialog *dialog)
{
@@ -173,9 +161,6 @@ gpk_update_viewer_auto_shutdown_cb (GtkDialog *dialog)
return FALSE;
}
-/**
- * gpk_update_viewer_error_dialog:
- **/
static void
gpk_update_viewer_error_dialog (const gchar *title, const gchar *message, const gchar *details)
{
@@ -192,9 +177,6 @@ gpk_update_viewer_error_dialog (const gchar *title, const gchar *message, const
gpk_error_dialog_modal (window, title, message, details);
}
-/**
- * gpk_update_viewer_check_restart:
- **/
static gboolean
gpk_update_viewer_check_restart (void)
{
@@ -285,9 +267,6 @@ out:
return ret;
}
-/**
- * gpk_update_viewer_check_blocked_packages:
- **/
static void
gpk_update_viewer_check_blocked_packages (GPtrArray *array)
{
@@ -344,9 +323,6 @@ out:
g_free (text);
}
-/**
- * gpk_update_viewer_are_all_updates_selected:
- **/
static gboolean
gpk_update_viewer_are_all_updates_selected (GtkTreeModel *model)
{
@@ -382,9 +358,6 @@ out:
return selected;
}
-/**
- * gpk_update_viewer_update_packages_cb:
- **/
static void
gpk_update_viewer_update_packages_cb (PkTask *_task, GAsyncResult *res, gpointer user_data)
{
@@ -542,9 +515,6 @@ out:
static GSList *active_rows = NULL;
static guint active_row_timeout_id = 0;
-/**
- * gpk_update_viewer_compare_refs:
- **/
static gint
gpk_update_viewer_compare_refs (GtkTreeRowReference *a, GtkTreeRowReference *b)
{
@@ -569,9 +539,6 @@ gpk_update_viewer_compare_refs (GtkTreeRowReference *a, GtkTreeRowReference *b)
return res;
}
-/**
- * gpk_update_viewer_pulse_active_rows:
- **/
static gboolean
gpk_update_viewer_pulse_active_rows (void)
{
@@ -597,9 +564,6 @@ gpk_update_viewer_pulse_active_rows (void)
return TRUE;
}
-/**
- * gpk_update_viewer_add_active_row:
- **/
static void
gpk_update_viewer_add_active_row (GtkTreeModel *model, GtkTreePath *path)
{
@@ -627,9 +591,6 @@ out:
return;
}
-/**
- * gpk_update_viewer_remove_active_row:
- **/
static void
gpk_update_viewer_remove_active_row (GtkTreeModel *model, GtkTreePath *path)
{
@@ -658,9 +619,6 @@ gpk_update_viewer_remove_active_row (GtkTreeModel *model, GtkTreePath *path)
}
}
-/**
- * gpk_update_viewer_find_iter_model_cb:
- **/
static gboolean
gpk_update_viewer_find_iter_model_cb (GtkTreeModel *model,
GtkTreePath *path,
@@ -688,9 +646,6 @@ out:
return ret;
}
-/**
- * gpk_update_viewer_model_get_path:
- **/
static GtkTreePath *
gpk_update_viewer_model_get_path (GtkTreeModel *model, const gchar *package_id)
{
@@ -702,9 +657,6 @@ gpk_update_viewer_model_get_path (GtkTreeModel *model, const gchar *package_id)
return path;
}
-/**
- * gpk_update_view_get_info_headers:
- **/
static const gchar *
gpk_update_view_get_info_headers (PkInfoEnum info)
{
@@ -741,9 +693,6 @@ gpk_update_view_get_info_headers (PkInfoEnum info)
return text;
}
-/**
- * gpk_update_viewer_get_parent_for_info:
- **/
static void
gpk_update_viewer_get_parent_for_info (PkInfoEnum info, GtkTreeIter *parent)
{
@@ -816,9 +765,6 @@ gpk_update_viewer_get_parent_for_info (PkInfoEnum info, GtkTreeIter *parent)
}
}
-/**
- * gpk_update_viewer_progress_cb:
- **/
static void
gpk_update_viewer_progress_cb (PkProgress *progress,
PkProgressType type,
@@ -1083,9 +1029,6 @@ out:
g_object_unref (package);
}
-/**
- * gpk_update_viewer_client_notify_idle_cb:
- **/
static void
gpk_update_viewer_client_notify_idle_cb (PkClient *client, GParamSpec *pspec, gpointer user_data)
{
@@ -1102,9 +1045,6 @@ gpk_update_viewer_client_notify_idle_cb (PkClient *client, GParamSpec *pspec, gp
}
}
-/**
- * gpk_update_viewer_info_is_update_enum:
- **/
static gboolean
gpk_update_viewer_info_is_update_enum (PkInfoEnum info)
{
@@ -1126,9 +1066,6 @@ gpk_update_viewer_info_is_update_enum (PkInfoEnum info)
return ret;
}
-/**
- * gpk_update_viewer_get_install_package_ids:
- **/
static GPtrArray *
gpk_update_viewer_get_install_package_ids (void)
{
@@ -1186,9 +1123,6 @@ gpk_update_viewer_get_install_package_ids (void)
return array;
}
-/**
- * gpk_update_viewer_button_install_cb:
- **/
static void
gpk_update_viewer_button_install_cb (GtkWidget *widget, gpointer user_data)
{
@@ -1235,9 +1169,6 @@ gpk_update_viewer_button_install_cb (GtkWidget *widget, gpointer user_data)
g_ptr_array_unref (array);
}
-/**
- * gpk_update_viewer_button_upgrade_cb:
- **/
static void
gpk_update_viewer_button_upgrade_cb (GtkWidget *widget, gpointer user_data)
{
@@ -1252,9 +1183,6 @@ gpk_update_viewer_button_upgrade_cb (GtkWidget *widget, gpointer user_data)
}
}
-/**
- * gpk_update_viewer_check_mobile_broadband:
- **/
static void
gpk_update_viewer_check_mobile_broadband (void)
{
@@ -1289,9 +1217,6 @@ out:
return;
}
-/**
- * gpk_update_viewer_update_global_state_recursive:
- **/
static void
gpk_update_viewer_update_global_state_recursive (GtkTreeModel *model, GtkTreeIter *iter)
{
@@ -1324,9 +1249,6 @@ gpk_update_viewer_update_global_state_recursive (GtkTreeModel *model, GtkTreeIte
g_free (package_id);
}
-/**
- * gpk_update_viewer_update_global_state:
- **/
static void
gpk_update_viewer_update_global_state (void)
{
@@ -1351,9 +1273,6 @@ gpk_update_viewer_update_global_state (void)
}
}
-/**
- * gpk_update_viewer_modal_error_with_timeout:
- **/
static void
gpk_update_viewer_modal_error_with_timeout (const gchar *title, const gchar *message)
{
@@ -1401,9 +1320,6 @@ gpk_update_viewer_modal_error_with_timeout (const gchar *title, const gchar *mes
gpk_update_viewer_quit ();
}
-/**
- * gpk_update_viewer_reconsider_info:
- **/
static void
gpk_update_viewer_reconsider_info (void)
{
@@ -1523,9 +1439,6 @@ out:
gpk_update_viewer_check_mobile_broadband ();
}
-/**
- * gpk_update_viewer_treeview_update_toggled:
- **/
static void
gpk_update_viewer_treeview_update_toggled (GtkCellRendererToggle *cell, gchar *path_str, gpointer user_data)
{
@@ -1569,9 +1482,6 @@ gpk_update_viewer_treeview_update_toggled (GtkCellRendererToggle *cell, gchar *p
gpk_update_viewer_reconsider_info ();
}
-/**
- * gpk_update_viewer_treeview_updates_size_allocate_cb:
- **/
static void
gpk_update_viewer_treeview_updates_size_allocate_cb (GtkWidget *widget, GtkAllocation *allocation,
GtkCellRenderer *cell)
{
@@ -1589,9 +1499,6 @@ gpk_update_viewer_treeview_updates_size_allocate_cb (GtkWidget *widget, GtkAlloc
g_object_set (cell, "wrap-width", wrap_width, NULL);
}
-/**
- * gpk_update_viewer_treeview_query_tooltip_cb:
- */
static gboolean
gpk_update_viewer_treeview_query_tooltip_cb (GtkWidget *widget, gint x, gint y, gboolean keyboard,
GtkTooltip *tooltip, gpointer user_data)
{
@@ -1657,9 +1564,6 @@ out:
return ret;
}
-/**
- * gpk_update_viewer_treeview_add_columns_update:
- **/
static void
gpk_update_viewer_treeview_add_columns_update (GtkTreeView *treeview)
{
@@ -1769,9 +1673,6 @@ gpk_update_viewer_treeview_add_columns_update (GtkTreeView *treeview)
}
#if PK_CHECK_VERSION(0,8,1)
-/**
- * gpk_update_viewer_add_description_link_item:
- **/
static void
gpk_update_viewer_add_description_link_item (GtkTextBuffer *buffer,
GtkTextIter *iter,
@@ -1797,9 +1698,6 @@ gpk_update_viewer_add_description_link_item (GtkTextBuffer *buffer,
gtk_text_buffer_insert (buffer, iter, "\n", -1);
}
#else
-/**
- * gpk_update_viewer_add_description_link_item:
- **/
static void
gpk_update_viewer_add_description_link_item (GtkTextBuffer *buffer,
GtkTextIter *iter,
@@ -1828,9 +1726,6 @@ gpk_update_viewer_add_description_link_item (GtkTextBuffer *buffer,
gtk_text_buffer_insert (buffer, iter, "\n", -1);
}
-/**
- * gpk_update_viewer_get_uris:
- **/
static GPtrArray *
gpk_update_viewer_get_uris (const gchar *url_string)
{
@@ -1858,9 +1753,6 @@ gpk_update_viewer_get_uris (const gchar *url_string)
}
#endif
-/**
- * gpk_update_viewer_iso8601_format_locale_date:
- **/
static gchar *
gpk_update_viewer_iso8601_format_locale_date (const gchar *iso_date)
{
@@ -1894,9 +1786,6 @@ out:
return text;
}
-/**
- * gpk_update_viewer_populate_details:
- **/
static void
gpk_update_viewer_populate_details (PkUpdateDetail *item)
{
@@ -2115,9 +2004,6 @@ gpk_update_viewer_populate_details (PkUpdateDetail *item)
g_free (updated_locale);
}
-/**
- * gpk_packages_treeview_clicked_cb:
- **/
static void
gpk_packages_treeview_clicked_cb (GtkTreeSelection *selection, gpointer user_data)
{
@@ -2153,9 +2039,6 @@ out:
g_free (package_id);
}
-/**
- * gpk_update_viewer_get_details_cb:
- **/
static void
gpk_update_viewer_get_details_cb (PkClient *client, GAsyncResult *res, gpointer user_data)
{
@@ -2253,9 +2136,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_update_viewer_get_update_detail_cb:
- **/
static void
gpk_update_viewer_get_update_detail_cb (PkClient *client, GAsyncResult *res, gpointer user_data)
{
@@ -2334,18 +2214,12 @@ out:
g_object_unref (results);
}
-/**
- * gpk_update_viewer_repo_array_changed_cb:
- **/
static void
gpk_update_viewer_repo_array_changed_cb (PkClient *client, gpointer user_data)
{
gpk_update_viewer_get_new_update_array ();
}
-/**
- * gpk_update_viewer_detail_popup_menu_select_all:
- **/
static void
gpk_update_viewer_detail_popup_menu_select_all (GtkWidget *menuitem, gpointer user_data)
{
@@ -2382,9 +2256,6 @@ gpk_update_viewer_detail_popup_menu_select_all (GtkWidget *menuitem, gpointer us
gpk_update_viewer_reconsider_info ();
}
-/**
- * gpk_update_viewer_detail_popup_menu_select_security:
- **/
static void
gpk_update_viewer_detail_popup_menu_select_security (GtkWidget *menuitem, gpointer user_data)
{
@@ -2424,9 +2295,6 @@ gpk_update_viewer_detail_popup_menu_select_security (GtkWidget *menuitem, gpoint
gpk_update_viewer_reconsider_info ();
}
-/**
- * gpk_update_viewer_detail_popup_menu_select_none:
- **/
static void
gpk_update_viewer_detail_popup_menu_select_none (GtkWidget *menuitem, gpointer user_data)
{
@@ -2461,9 +2329,6 @@ gpk_update_viewer_detail_popup_menu_select_none (GtkWidget *menuitem, gpointer u
gpk_update_viewer_reconsider_info ();
}
-/**
- * gpk_update_viewer_get_checked_status:
- **/
static gboolean
gpk_update_viewer_get_checked_status (gboolean *all_checked, gboolean *none_checked)
{
@@ -2509,9 +2374,6 @@ gpk_update_viewer_get_checked_status (gboolean *all_checked, gboolean *none_chec
return clickable;
}
-/**
- * gpk_update_viewer_detail_popup_menu_create:
- **/
static void
gpk_update_viewer_detail_popup_menu_create (GtkWidget *treeview, GdkEventButton *event, gpointer user_data)
{
@@ -2565,9 +2427,6 @@ gpk_update_viewer_detail_popup_menu_create (GtkWidget *treeview, GdkEventButton
gdk_event_get_time((GdkEvent*)event));
}
-/**
- * gpk_update_viewer_detail_button_pressed:
- **/
static gboolean
gpk_update_viewer_detail_button_pressed (GtkWidget *treeview, GdkEventButton *event, gpointer user_data)
{
@@ -2600,9 +2459,6 @@ gpk_update_viewer_detail_button_pressed (GtkWidget *treeview, GdkEventButton *ev
return TRUE;
}
-/**
- * gpk_update_viewer_detail_popup_menu:
- **/
static gboolean
gpk_update_viewer_detail_popup_menu (GtkWidget *treeview, gpointer user_data)
{
@@ -2610,9 +2466,6 @@ gpk_update_viewer_detail_popup_menu (GtkWidget *treeview, gpointer user_data)
return TRUE;
}
-/**
- * gpk_update_viewer_packages_to_ids:
- **/
static gchar **
gpk_update_viewer_packages_to_ids (GPtrArray *array)
{
@@ -2630,9 +2483,6 @@ gpk_update_viewer_packages_to_ids (GPtrArray *array)
return value;
}
-/**
- * gpk_update_viewer_get_updates_cb:
- **/
static void
gpk_update_viewer_get_updates_cb (PkClient *client, GAsyncResult *res, gpointer user_data)
{
@@ -2783,9 +2633,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_update_viewer_get_new_update_array
- **/
static gboolean
gpk_update_viewer_get_new_update_array (void)
{
@@ -2842,11 +2689,6 @@ gpk_update_viewer_textview_follow_link (GtkWidget *text_view, GtkTextIter *iter)
g_slist_free (tags);
}
-/**
- * gpk_update_viewer_textview_key_press_event:
- *
- * Links can be activated by pressing Enter
- **/
static gboolean
gpk_update_viewer_textview_key_press_event (GtkWidget *text_view, GdkEventKey *event)
{
@@ -2867,11 +2709,6 @@ gpk_update_viewer_textview_key_press_event (GtkWidget *text_view, GdkEventKey *e
return FALSE;
}
-/**
- * gpk_update_viewer_textview_event_after:
- *
- * Links can also be activated by clicking
- **/
static gboolean
gpk_update_viewer_textview_event_after (GtkWidget *text_view, GdkEvent *ev)
{
@@ -2945,11 +2782,6 @@ gpk_update_viewer_textview_set_cursor (GtkTextView *text_view, gint x, gint y)
g_slist_free (tags);
}
-/**
- * gpk_update_viewer_textview_motion_notify_event:
- *
- * Update the cursor image if the pointer moved.
- **/
static gboolean
gpk_update_viewer_textview_motion_notify_event (GtkWidget *text_view, GdkEventMotion *event)
{
@@ -2988,9 +2820,6 @@ out:
return FALSE;
}
-/**
- * gpk_update_viewer_updates_changed_cb:
- **/
static void
gpk_update_viewer_updates_changed_cb (PkControl *_control, gpointer user_data)
{
@@ -3003,9 +2832,6 @@ gpk_update_viewer_updates_changed_cb (PkControl *_control, gpointer user_data)
gpk_update_viewer_get_new_update_array ();
}
-/**
- * gpk_update_viewer_search_equal_func:
- **/
static gboolean
gpk_update_viewer_search_equal_func (GtkTreeModel *model, gint column, const gchar *key, GtkTreeIter *iter,
gpointer search_data)
{
@@ -3031,9 +2857,6 @@ gpk_update_viewer_search_equal_func (GtkTreeModel *model, gint column, const gch
return result;
}
-/**
- * gpk_update_viewer_get_distro_upgrades_best:
- **/
static PkDistroUpgrade *
gpk_update_viewer_get_distro_upgrades_best (GPtrArray *array)
{
@@ -3058,9 +2881,6 @@ out:
return item;
}
-/**
- * gpk_update_viewer_get_distro_upgrades_cb:
- **/
static void
gpk_update_viewer_get_distro_upgrades_cb (PkClient *client, GAsyncResult *res, gpointer user_data)
{
@@ -3133,9 +2953,6 @@ out:
g_object_unref (results);
}
-/**
- * gpk_update_viewer_get_properties_cb:
- **/
static void
gpk_update_viewer_get_properties_cb (PkControl *_control, GAsyncResult *res, gpointer user_data)
{
@@ -3167,9 +2984,6 @@ out:
return;
}
-/**
- * gpk_update_viewer_notify_network_state_cb:
- **/
static void
gpk_update_viewer_notify_network_state_cb (PkControl *_control, GParamSpec *pspec, gpointer user_data)
{
@@ -3177,9 +2991,6 @@ gpk_update_viewer_notify_network_state_cb (PkControl *_control, GParamSpec *pspe
gpk_update_viewer_get_new_update_array ();
}
-/**
- * gpk_update_viewer_activate_cb:
- **/
static void
gpk_update_viewer_activate_cb (GtkApplication *_application, gpointer user_data)
{
@@ -3188,9 +2999,6 @@ gpk_update_viewer_activate_cb (GtkApplication *_application, gpointer user_data)
gtk_window_present (window);
}
-/**
- * gpk_update_viewer_application_startup_cb:
- **/
static void
gpk_update_viewer_application_startup_cb (GtkApplication *_application, gpointer user_data)
{
@@ -3370,9 +3178,6 @@ out:
return;
}
-/**
- * main:
- **/
int
main (int argc, char *argv[])
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]