[gnome-multi-writer] trivial: Remove useless gtk-doc headers



commit ad05a5ab34b9d88e4fe9efad908e3d25c585aa18
Author: Richard Hughes <richard hughsie com>
Date:   Mon Apr 10 15:33:35 2017 +0100

    trivial: Remove useless gtk-doc headers

 src/gmw-device.c |  111 --------------------------------------
 src/gmw-main.c   |  156 ------------------------------------------------------
 src/gmw-probe.c  |   48 -----------------
 3 files changed, 0 insertions(+), 315 deletions(-)
---
diff --git a/src/gmw-device.c b/src/gmw-device.c
index 7431647..e94d007 100644
--- a/src/gmw-device.c
+++ b/src/gmw-device.c
@@ -49,9 +49,6 @@ typedef struct {
 
 G_DEFINE_TYPE_WITH_PRIVATE (GmwDevice, gmw_device, G_TYPE_OBJECT)
 
-/**
- * gmw_device_get_state:
- **/
 GmwDeviceState
 gmw_device_get_state (GmwDevice *device)
 {
@@ -60,9 +57,6 @@ gmw_device_get_state (GmwDevice *device)
        return priv->state;
 }
 
-/**
- * gmw_device_get_udisks_block:
- **/
 UDisksBlock *
 gmw_device_get_udisks_block (GmwDevice *device)
 {
@@ -71,9 +65,6 @@ gmw_device_get_udisks_block (GmwDevice *device)
        return priv->udisks_block;
 }
 
-/**
- * gmw_device_get_name:
- **/
 const gchar *
 gmw_device_get_name (GmwDevice *device)
 {
@@ -82,9 +73,6 @@ gmw_device_get_name (GmwDevice *device)
        return priv->name;
 }
 
-/**
- * gmw_device_get_block_path:
- **/
 const gchar *
 gmw_device_get_block_path (GmwDevice *device)
 {
@@ -93,9 +81,6 @@ gmw_device_get_block_path (GmwDevice *device)
        return priv->block_path;
 }
 
-/**
- * gmw_device_get_hub_label:
- **/
 const gchar *
 gmw_device_get_hub_label (GmwDevice *device)
 {
@@ -104,9 +89,6 @@ gmw_device_get_hub_label (GmwDevice *device)
        return priv->hub_label;
 }
 
-/**
- * gmw_device_get_hub_id:
- **/
 const gchar *
 gmw_device_get_hub_id (GmwDevice *device)
 {
@@ -115,9 +97,6 @@ gmw_device_get_hub_id (GmwDevice *device)
        return priv->hub_id;
 }
 
-/**
- * gmw_device_get_hub_root:
- **/
 guint8
 gmw_device_get_hub_root (GmwDevice *device)
 {
@@ -128,9 +107,6 @@ gmw_device_get_hub_root (GmwDevice *device)
        return g_usb_device_get_bus (priv->usb_device);
 }
 
-/**
- * gmw_device_get_object_path:
- **/
 const gchar *
 gmw_device_get_object_path (GmwDevice *device)
 {
@@ -139,9 +115,6 @@ gmw_device_get_object_path (GmwDevice *device)
        return priv->object_path;
 }
 
-/**
- * gmw_device_get_order_display:
- **/
 const gchar *
 gmw_device_get_order_display (GmwDevice *device)
 {
@@ -155,9 +128,6 @@ gmw_device_get_order_display (GmwDevice *device)
        return priv->order_display;
 }
 
-/**
- * gmw_device_get_order_process:
- **/
 const gchar *
 gmw_device_get_order_process (GmwDevice *device)
 {
@@ -168,9 +138,6 @@ gmw_device_get_order_process (GmwDevice *device)
        return priv->order_process;
 }
 
-/**
- * gmw_device_get_sysfs_path:
- **/
 const gchar *
 gmw_device_get_sysfs_path (GmwDevice *device)
 {
@@ -179,9 +146,6 @@ gmw_device_get_sysfs_path (GmwDevice *device)
        return priv->sysfs_path;
 }
 
-/**
- * gmw_device_get_complete:
- **/
 gdouble
 gmw_device_get_complete (GmwDevice *device)
 {
@@ -190,9 +154,6 @@ gmw_device_get_complete (GmwDevice *device)
        return priv->complete;
 }
 
-/**
- * gmw_device_get_speed_write:
- **/
 gdouble
 gmw_device_get_speed_write (GmwDevice *device)
 {
@@ -201,9 +162,6 @@ gmw_device_get_speed_write (GmwDevice *device)
        return priv->speed_write;
 }
 
-/**
- * gmw_device_get_speed_read:
- **/
 gdouble
 gmw_device_get_speed_read (GmwDevice *device)
 {
@@ -212,9 +170,6 @@ gmw_device_get_speed_read (GmwDevice *device)
        return priv->speed_read;
 }
 
-/**
- * gmw_device_get_size:
- **/
 guint64
 gmw_device_get_size (GmwDevice *device)
 {
@@ -225,9 +180,6 @@ gmw_device_get_size (GmwDevice *device)
        return udisks_block_get_size (priv->udisks_block);
 }
 
-/**
- * gmw_device_get_icon:
- **/
 const gchar *
 gmw_device_get_icon (GmwDevice *device)
 {
@@ -251,9 +203,6 @@ gmw_device_get_icon (GmwDevice *device)
        return "drive-harddisk-usb";
 }
 
-/**
- * gmw_device_get_description:
- **/
 gchar *
 gmw_device_get_description (GmwDevice *device)
 {
@@ -324,9 +273,6 @@ gmw_device_get_description (GmwDevice *device)
        return NULL;
 }
 
-/**
- * gmw_device_set_state:
- **/
 void
 gmw_device_set_state (GmwDevice *device, GmwDeviceState device_state)
 {
@@ -347,9 +293,6 @@ gmw_device_set_state (GmwDevice *device, GmwDeviceState device_state)
        priv->state = device_state;
 }
 
-/**
- * gmw_device_set_error:
- **/
 void
 gmw_device_set_error (GmwDevice *device, const GError *error)
 {
@@ -365,9 +308,6 @@ gmw_device_set_error (GmwDevice *device, const GError *error)
        gmw_device_set_complete_write (device, 0.f);
 }
 
-/**
- * gmw_device_set_udisks_block:
- **/
 void
 gmw_device_set_udisks_block (GmwDevice *device, UDisksBlock *udisks_block)
 {
@@ -378,9 +318,6 @@ gmw_device_set_udisks_block (GmwDevice *device, UDisksBlock *udisks_block)
        g_mutex_unlock (&priv->mutex);
 }
 
-/**
- * gmw_device_set_name:
- **/
 void
 gmw_device_set_name (GmwDevice *device, const gchar *name)
 {
@@ -411,9 +348,6 @@ gmw_device_set_name (GmwDevice *device, const gchar *name)
        g_mutex_unlock (&priv->mutex);
 }
 
-/**
- * gmw_device_set_block_path:
- **/
 void
 gmw_device_set_block_path (GmwDevice *device, const gchar *block_path)
 {
@@ -425,9 +359,6 @@ gmw_device_set_block_path (GmwDevice *device, const gchar *block_path)
        g_mutex_unlock (&priv->mutex);
 }
 
-/**
- * gmw_device_set_hub_label:
- **/
 void
 gmw_device_set_hub_label (GmwDevice *device, const gchar *hub_label)
 {
@@ -442,9 +373,6 @@ gmw_device_set_hub_label (GmwDevice *device, const gchar *hub_label)
        gmw_device_set_order_display (device, NULL);
 }
 
-/**
- * gmw_device_set_hub_id:
- **/
 void
 gmw_device_set_hub_id (GmwDevice *device, const gchar *hub_id)
 {
@@ -456,9 +384,6 @@ gmw_device_set_hub_id (GmwDevice *device, const gchar *hub_id)
        g_mutex_unlock (&priv->mutex);
 }
 
-/**
- * gmw_device_set_object_path:
- **/
 void
 gmw_device_set_object_path (GmwDevice *device, const gchar *object_path)
 {
@@ -470,9 +395,6 @@ gmw_device_set_object_path (GmwDevice *device, const gchar *object_path)
        g_mutex_unlock (&priv->mutex);
 }
 
-/**
- * gmw_device_set_order_display:
- **/
 void
 gmw_device_set_order_display (GmwDevice *device, const gchar *order_display)
 {
@@ -484,9 +406,6 @@ gmw_device_set_order_display (GmwDevice *device, const gchar *order_display)
        g_mutex_unlock (&priv->mutex);
 }
 
-/**
- * gmw_device_set_order_process:
- **/
 void
 gmw_device_set_order_process (GmwDevice *device, const gchar *order_process)
 {
@@ -498,9 +417,6 @@ gmw_device_set_order_process (GmwDevice *device, const gchar *order_process)
        g_mutex_unlock (&priv->mutex);
 }
 
-/**
- * gmw_device_set_complete_read:
- **/
 void
 gmw_device_set_complete_read (GmwDevice *device, gdouble complete)
 {
@@ -509,9 +425,6 @@ gmw_device_set_complete_read (GmwDevice *device, gdouble complete)
        priv->complete = priv->write_alloc + (1.0 - priv->write_alloc) * complete;
 }
 
-/**
- * gmw_device_set_complete_write:
- **/
 void
 gmw_device_set_complete_write (GmwDevice *device, gdouble complete)
 {
@@ -520,9 +433,6 @@ gmw_device_set_complete_write (GmwDevice *device, gdouble complete)
        priv->complete = priv->write_alloc * complete;
 }
 
-/**
- * gmw_device_set_speed_write:
- **/
 void
 gmw_device_set_speed_write (GmwDevice *device, gdouble speed_write)
 {
@@ -531,9 +441,6 @@ gmw_device_set_speed_write (GmwDevice *device, gdouble speed_write)
        priv->speed_write = speed_write;
 }
 
-/**
- * gmw_device_set_speed_read:
- **/
 void
 gmw_device_set_speed_read (GmwDevice *device, gdouble speed_read)
 {
@@ -542,9 +449,6 @@ gmw_device_set_speed_read (GmwDevice *device, gdouble speed_read)
        priv->speed_read = speed_read;
 }
 
-/**
- * gmw_device_set_write_alloc:
- **/
 void
 gmw_device_set_write_alloc (GmwDevice *device, gdouble write_alloc)
 {
@@ -553,9 +457,6 @@ gmw_device_set_write_alloc (GmwDevice *device, gdouble write_alloc)
        priv->write_alloc = write_alloc;
 }
 
-/**
- * gmw_device_set_udisks_drive:
- **/
 void
 gmw_device_set_udisks_drive (GmwDevice *device, UDisksDrive *udisks_drive)
 {
@@ -605,9 +506,6 @@ static guint8 g_usb_device_get_port_number (GUsbDevice *d) {return 0x00;}
 static GPtrArray *g_usb_device_get_children (GUsbDevice *d) {return g_ptr_array_new ();}
 #endif
 
-/**
- * gmw_device_get_toplevel_hub:
- **/
 static GUsbDevice *
 gmw_device_get_toplevel_hub (GmwDevice *device)
 {
@@ -635,9 +533,6 @@ gmw_device_get_toplevel_hub (GmwDevice *device)
        return g_object_ref (usb_hub);
 }
 
-/**
- * gmw_device_get_quirk_string:
- **/
 gchar *
 gmw_device_get_quirk_string (GmwDevice *device)
 {
@@ -731,9 +626,6 @@ gmw_device_get_quirk_string (GmwDevice *device)
        return g_strdup (str->str);
 }
 
-/**
- * gmw_device_set_usb_device:
- **/
 void
 gmw_device_set_usb_device (GmwDevice *device, GUsbDevice *usb_device)
 {
@@ -1073,9 +965,6 @@ gmw_device_init (GmwDevice *device)
        g_mutex_init (&priv->mutex);
 }
 
-/**
- * gmw_device_new:
- **/
 GmwDevice *
 gmw_device_new (void)
 {
diff --git a/src/gmw-main.c b/src/gmw-main.c
index d6065d5..e167fb0 100644
--- a/src/gmw-main.c
+++ b/src/gmw-main.c
@@ -66,9 +66,6 @@ typedef struct {
        GtkWidget               *switch_probe;
 } GmwPrivate;
 
-/**
- * gmw_error_dialog:
- **/
 static void
 gmw_error_dialog (GmwPrivate *priv, const gchar *title, const gchar *message)
 {
@@ -87,9 +84,6 @@ gmw_error_dialog (GmwPrivate *priv, const gchar *title, const gchar *message)
        gtk_widget_destroy (dialog);
 }
 
-/**
- * gmw_activate_cb:
- **/
 static void
 gmw_activate_cb (GApplication *application, GmwPrivate *priv)
 {
@@ -98,18 +92,12 @@ gmw_activate_cb (GApplication *application, GmwPrivate *priv)
        gtk_window_present (window);
 }
 
-/**
- * gmw_cancel_clicked_cb:
- **/
 static void
 gmw_cancel_clicked_cb (GtkWidget *widget, GmwPrivate *priv)
 {
        g_cancellable_cancel (priv->cancellable);
 }
 
-/**
- * gmw_devices_sort_cb:
- **/
 static gint
 gmw_devices_sort_cb (gconstpointer a, gconstpointer b)
 {
@@ -119,9 +107,6 @@ gmw_devices_sort_cb (gconstpointer a, gconstpointer b)
                          gmw_device_get_order_display (devb));
 }
 
-/**
- * gmw_root_hub_free:
- **/
 static void
 gmw_root_hub_free (GmwRootHub *rh)
 {
@@ -129,9 +114,6 @@ gmw_root_hub_free (GmwRootHub *rh)
        g_free (rh);
 }
 
-/**
- * gmw_root_hub_new:
- **/
 static GmwRootHub *
 gmw_root_hub_new (guint idx)
 {
@@ -142,9 +124,6 @@ gmw_root_hub_new (guint idx)
        return rh;
 }
 
-/**
- * gmw_root_hub_find_by_idx:
- **/
 static GmwRootHub *
 gmw_root_hub_find_by_idx (GPtrArray *root_hubs, guint idx)
 {
@@ -191,9 +170,6 @@ gmw_root_hub_enumerate (GPtrArray *devices)
        return array;
 }
 
-/**
- * gmw_device_list_sort:
- **/
 static void
 gmw_device_list_sort (GmwPrivate *priv)
 {
@@ -234,9 +210,6 @@ typedef struct {
 
 static void gmw_refresh_ui (GmwPrivate *priv);
 
-/**
- * gmw_main_show_quirks:
- **/
 static void
 gmw_main_show_quirks (GmwPrivate *priv)
 {
@@ -253,9 +226,6 @@ gmw_main_show_quirks (GmwPrivate *priv)
        }
 }
 
-/**
- * gmw_main_rename_response_cb:
- **/
 static void
 gmw_main_rename_response_cb (GtkDialog *dialog,
                             GtkResponseType response_id,
@@ -278,18 +248,12 @@ gmw_main_rename_response_cb (GtkDialog *dialog,
        gtk_widget_destroy (GTK_WIDGET (dialog));
 }
 
-/**
- * gmw_main_rename_labels_cb:
- **/
 static void
 gmw_main_rename_activate_cb (GtkEntry *entry, GmwRenumberHelper *helper)
 {
        gtk_dialog_response (helper->dialog, GTK_RESPONSE_OK);
 }
 
-/**
- * gmw_main_rename_labels_cb:
- **/
 static gboolean
 gmw_main_rename_labels_cb (GtkLabel *label, const gchar *uri, GmwPrivate *priv)
 {
@@ -339,9 +303,6 @@ gmw_main_rename_labels_cb (GtkLabel *label, const gchar *uri, GmwPrivate *priv)
        return TRUE;
 }
 
-/**
- * gmw_refresh_ui:
- **/
 static void
 gmw_refresh_ui (GmwPrivate *priv)
 {
@@ -444,9 +405,6 @@ gmw_refresh_ui (GmwPrivate *priv)
        gtk_stack_set_visible_child_name (GTK_STACK (w), priv->devices->len > 0 ? "status" : "usb");
 }
 
-/**
- * gmw_refresh_in_idle_cb:
- **/
 static gboolean
 gmw_refresh_in_idle_cb (gpointer user_data)
 {
@@ -460,9 +418,6 @@ gmw_refresh_in_idle_cb (gpointer user_data)
        return FALSE;
 }
 
-/**
- * gmw_refresh_in_idle:
- **/
 static void
 gmw_refresh_in_idle (GmwPrivate *priv)
 {
@@ -473,9 +428,6 @@ gmw_refresh_in_idle (GmwPrivate *priv)
        g_mutex_unlock (&priv->idle_id_mutex);
 }
 
-/**
- * gmw_copy_done:
- **/
 static void
 gmw_copy_done (GmwPrivate *priv)
 {
@@ -502,9 +454,6 @@ gmw_copy_done (GmwPrivate *priv)
        g_mutex_unlock (&priv->thread_pool_mutex);
 }
 
-/**
- * gmw_get_aligned_buffer:
- **/
 static guchar *
 gmw_get_aligned_buffer (gint buffer_size, guchar **buffer)
 {
@@ -518,9 +467,6 @@ gmw_get_aligned_buffer (gint buffer_size, guchar **buffer)
        return buffer_unaligned;
 }
 
-/**
- * gmw_device_write:
- **/
 static gboolean
 gmw_device_write (GmwPrivate *priv,
                  GmwDevice *device,
@@ -665,9 +611,6 @@ out:
        return ret;
 }
 
-/**
- * gmw_device_verify:
- **/
 static gboolean
 gmw_device_verify (GmwPrivate *priv,
                   GmwDevice *device,
@@ -831,9 +774,6 @@ out:
        return ret;
 }
 
-/**
- * gmw_refresh_titlebar:
- **/
 static void
 gmw_refresh_titlebar (GmwPrivate *priv)
 {
@@ -867,9 +807,6 @@ gmw_refresh_titlebar (GmwPrivate *priv)
        gtk_header_bar_set_title (GTK_HEADER_BAR (w), title->str);
 }
 
-/**
- * gmw_refresh_titlebar_idle_cb:
- **/
 static gboolean
 gmw_refresh_titlebar_idle_cb (gpointer user_data)
 {
@@ -878,9 +815,6 @@ gmw_refresh_titlebar_idle_cb (gpointer user_data)
        return G_SOURCE_REMOVE;
 }
 
-/**
- * gmw_block_device_probe:
- **/
 static gboolean
 gmw_block_device_probe (const gchar *block_dev, GError **error)
 {
@@ -907,9 +841,6 @@ gmw_block_device_probe (const gchar *block_dev, GError **error)
        return TRUE;
 }
 
-/**
- * gmw_copy_thread_cb:
- **/
 static void
 gmw_copy_thread_cb (gpointer data, gpointer user_data)
 {
@@ -968,9 +899,6 @@ out:
        gmw_copy_done (priv);
 }
 
-/**
- * gmw_update_title:
- **/
 static void
 gmw_update_title (GmwPrivate *priv)
 {
@@ -985,9 +913,6 @@ gmw_update_title (GmwPrivate *priv)
        }
 }
 
-/**
- * gmw_set_image_file_changed_cb:
- **/
 static void
 gmw_set_image_file_changed_cb (GFileMonitor *monitor,
                               GFile *file,
@@ -998,9 +923,6 @@ gmw_set_image_file_changed_cb (GFileMonitor *monitor,
        g_debug ("ISO file changed");
 }
 
-/**
- * gmw_set_image_filename:
- **/
 static void
 gmw_set_image_filename (GmwPrivate *priv, const gchar *filename)
 {
@@ -1037,9 +959,6 @@ gmw_set_image_filename (GmwPrivate *priv, const gchar *filename)
        priv->image_file_size = g_file_info_get_size (info);
 }
 
-/**
- * gmw_import_filename:
- **/
 static void
 gmw_import_filename (GmwPrivate *priv)
 {
@@ -1075,9 +994,6 @@ gmw_import_filename (GmwPrivate *priv)
        gtk_widget_destroy (d);
 }
 
-/**
- * gmw_auth_dummy_restore:
- **/
 static gboolean
 gmw_auth_dummy_restore (GmwPrivate *priv, GmwDevice *device, GError **error)
 {
@@ -1107,9 +1023,6 @@ out:
        return ret;
 }
 
-/**
- * gmw_throughput_update_titlebar_cb:
- **/
 static gboolean
 gmw_throughput_update_titlebar_cb (gpointer user_data)
 {
@@ -1118,9 +1031,6 @@ gmw_throughput_update_titlebar_cb (gpointer user_data)
        return G_SOURCE_CONTINUE;
 }
 
-/**
- * gmw_udisks_unmount_cb:
- **/
 static void
 gmw_udisks_unmount_cb (GObject *source_object,
                       GAsyncResult *res,
@@ -1133,9 +1043,6 @@ gmw_udisks_unmount_cb (GObject *source_object,
                g_warning ("Failed to unmount filesystem: %s", error->message);
 }
 
-/**
- * gmw_udisks_get_filesystem_for_device:
- **/
 static UDisksFilesystem *
 gmw_udisks_get_filesystem_for_device (GmwPrivate *priv, GmwDevice *device)
 {
@@ -1172,9 +1079,6 @@ gmw_udisks_get_filesystem_for_device (GmwPrivate *priv, GmwDevice *device)
        return NULL;
 }
 
-/**
- * gmw_udisks_unmount_filesystems_async:
- **/
 static void
 gmw_udisks_unmount_filesystems_async (GmwPrivate *priv, GmwDevice *device)
 {
@@ -1189,9 +1093,6 @@ gmw_udisks_unmount_filesystems_async (GmwPrivate *priv, GmwDevice *device)
                                        device);
 }
 
-/**
- * gmw_udisks_unmount_filesystems_sync:
- **/
 static gboolean
 gmw_udisks_unmount_filesystems_sync (GmwPrivate *priv, GmwDevice *device, GError **error)
 {
@@ -1205,9 +1106,6 @@ gmw_udisks_unmount_filesystems_sync (GmwPrivate *priv, GmwDevice *device, GError
                                                    error);
 }
 
-/**
- * gmw_start_copy:
- **/
 static void
 gmw_start_copy (GmwPrivate *priv)
 {
@@ -1278,9 +1176,6 @@ gmw_start_copy (GmwPrivate *priv)
        gmw_refresh_ui (priv);
 }
 
-/**
- * gmw_start_confirm_response_cb:
- **/
 static void
 gmw_start_confirm_response_cb (GtkDialog *dialog,
                               GtkResponseType response_id,
@@ -1293,9 +1188,6 @@ gmw_start_confirm_response_cb (GtkDialog *dialog,
        gtk_widget_destroy (GTK_WIDGET (dialog));
 }
 
-/**
- * gmw_start_clicked_cb:
- **/
 static void
 gmw_start_clicked_cb (GtkWidget *widget, GmwPrivate *priv)
 {
@@ -1349,9 +1241,6 @@ gmw_start_clicked_cb (GtkWidget *widget, GmwPrivate *priv)
        gtk_window_present (GTK_WINDOW (w));
 }
 
-/**
- * gmw_import_activated_cb:
- **/
 static void
 gmw_import_activated_cb (GSimpleAction *action,
                         GVariant *parameter,
@@ -1361,9 +1250,6 @@ gmw_import_activated_cb (GSimpleAction *action,
        gmw_import_filename (priv);
 }
 
-/**
- * gmw_about_activated_cb:
- **/
 static void
 gmw_about_activated_cb (GSimpleAction *action, GVariant *parameter, gpointer user_data)
 {
@@ -1394,9 +1280,6 @@ gmw_about_activated_cb (GSimpleAction *action, GVariant *parameter, gpointer use
                               NULL);
 }
 
-/**
- * gmw_quit_activated_cb:
- **/
 static void
 gmw_quit_activated_cb (GSimpleAction *action,
                       GVariant *parameter,
@@ -1412,9 +1295,6 @@ static GActionEntry actions[] = {
        { "quit", gmw_quit_activated_cb, NULL, NULL, NULL }
 };
 
-/**
- * gmw_settings_clicked_cb:
- **/
 static void
 gmw_settings_clicked_cb (GtkWidget *widget, GmwPrivate *priv)
 {
@@ -1461,9 +1341,6 @@ gmw_settings_clicked_cb (GtkWidget *widget, GmwPrivate *priv)
        gtk_widget_show_all (pop);
 }
 
-/**
- * gmw_startup_cb:
- **/
 static void
 gmw_startup_cb (GApplication *application, GmwPrivate *priv)
 {
@@ -1524,9 +1401,6 @@ gmw_startup_cb (GApplication *application, GmwPrivate *priv)
        gtk_widget_show (main_window);
 }
 
-/**
- * gmw_sysfs_get_busnum:
- **/
 static guint8
 gmw_sysfs_get_busnum (const gchar *filename)
 {
@@ -1538,9 +1412,6 @@ gmw_sysfs_get_busnum (const gchar *filename)
        return g_ascii_strtoull (data, NULL, 10);
 }
 
-/**
- * gmw_sysfs_get_devnum:
- **/
 static guint8
 gmw_sysfs_get_devnum (const gchar *filename)
 {
@@ -1552,9 +1423,6 @@ gmw_sysfs_get_devnum (const gchar *filename)
        return g_ascii_strtoull (data, NULL, 10);
 }
 
-/**
- * gmw_udisks_find_usb_device:
- **/
 static void
 gmw_udisks_find_usb_device (GmwPrivate *priv, GmwDevice *device)
 {
@@ -1587,9 +1455,6 @@ gmw_udisks_find_usb_device (GmwPrivate *priv, GmwDevice *device)
        gmw_device_set_usb_device (device, usb_device);
 }
 
-/**
- * gmw_udisks_object_add:
- **/
 static gboolean
 gmw_udisks_object_add (GmwPrivate *priv, GDBusObject *dbus_object)
 {
@@ -1681,9 +1546,6 @@ gmw_udisks_object_add (GmwPrivate *priv, GDBusObject *dbus_object)
        return TRUE;
 }
 
-/**
- * gmw_update_max_threads:
- **/
 static void
 gmw_update_max_threads (GmwPrivate *priv)
 {
@@ -1704,9 +1566,6 @@ gmw_update_max_threads (GmwPrivate *priv)
                                       NULL);
 }
 
-/**
- * gmw_udisks_object_added_cb:
- **/
 static void
 gmw_udisks_object_added_cb (GDBusObjectManager *object_manager,
                            GDBusObject *dbus_object,
@@ -1719,9 +1578,6 @@ gmw_udisks_object_added_cb (GDBusObjectManager *object_manager,
        }
 }
 
-/**
- * gmw_udisks_object_removed_cb:
- **/
 static void
 gmw_udisks_object_removed_cb (GDBusObjectManager *object_manager,
                              GDBusObject *dbus_object,
@@ -1745,9 +1601,6 @@ gmw_udisks_object_removed_cb (GDBusObjectManager *object_manager,
        }
 }
 
-/**
- * gmw_udisks_client_connect_cb:
- **/
 static void
 gmw_udisks_client_connect_cb (GObject *source_object,
                              GAsyncResult *res,
@@ -1778,9 +1631,6 @@ gmw_udisks_client_connect_cb (GObject *source_object,
        g_list_free_full (objects, (GDestroyNotify) g_object_unref);
 }
 
-/**
- * gmw_settings_changed_cb:
- **/
 static void
 gmw_settings_changed_cb (GSettings *settings, const gchar *key, GmwPrivate *priv)
 {
@@ -1794,9 +1644,6 @@ gmw_settings_changed_cb (GSettings *settings, const gchar *key, GmwPrivate *priv
        }
 }
 
-/**
- * gmw_thread_pool_sort_func:
- **/
 static gint
 gmw_thread_pool_sort_func (gconstpointer a, gconstpointer b, gpointer user_data)
 {
@@ -1806,9 +1653,6 @@ gmw_thread_pool_sort_func (gconstpointer a, gconstpointer b, gpointer user_data)
                          gmw_device_get_order_process (devb));
 }
 
-/**
- * main:
- **/
 int
 main (int argc, char **argv)
 {
diff --git a/src/gmw-probe.c b/src/gmw-probe.c
index c6ff7d2..93cddab 100644
--- a/src/gmw-probe.c
+++ b/src/gmw-probe.c
@@ -64,9 +64,6 @@ typedef struct {
 #define GMW_ERROR_FAILED       0
 #define GMW_ERROR_IS_FAKE      1
 
-/**
- * gmw_probe_get_random_data:
- **/
 static guint8 *
 gmw_probe_get_random_data (guint len)
 {
@@ -79,9 +76,6 @@ gmw_probe_get_random_data (guint len)
        return data;
 }
 
-/**
- * gmw_probe_block_free:
- **/
 static void
 gmw_probe_block_free (GmwProbeBlock *item)
 {
@@ -90,9 +84,6 @@ gmw_probe_block_free (GmwProbeBlock *item)
        g_free (item);
 }
 
-/**
- * gmw_probe_device_reset:
- **/
 static gboolean
 gmw_probe_device_reset (GmwProbeDevice *dev, GError **error)
 {
@@ -122,9 +113,6 @@ gmw_probe_device_reset (GmwProbeDevice *dev, GError **error)
        return TRUE;
 }
 
-/**
- * gmw_probe_device_open:
- **/
 static gboolean
 gmw_probe_device_open (GmwProbeDevice *dev, GError **error)
 {
@@ -147,9 +135,6 @@ gmw_probe_device_open (GmwProbeDevice *dev, GError **error)
        return TRUE;
 }
 
-/**
- * gmw_probe_device_free:
- **/
 static void
 gmw_probe_device_free (GmwProbeDevice *dev)
 {
@@ -162,9 +147,6 @@ gmw_probe_device_free (GmwProbeDevice *dev)
        g_free (dev);
 }
 
-/**
- * gmw_probe_device_read:
- **/
 static gsize
 gmw_probe_device_read (GmwProbeDevice *dev, guint64 addr, guint8 *buf, gssize len)
 {
@@ -177,9 +159,6 @@ gmw_probe_device_read (GmwProbeDevice *dev, guint64 addr, guint8 *buf, gssize le
        return bytes_read;
 }
 
-/**
- * gmw_probe_device_write:
- **/
 static gsize
 gmw_probe_device_write (GmwProbeDevice *dev, guint64 addr, const guint8 *buf, gssize len)
 {
@@ -192,9 +171,6 @@ gmw_probe_device_write (GmwProbeDevice *dev, guint64 addr, const guint8 *buf, gs
        return bytes_written;
 }
 
-/**
- * gmw_probe_device_data_save:
- **/
 static gboolean
 gmw_probe_device_data_save (GmwProbeDevice *dev,
                            GCancellable *cancellable,
@@ -233,9 +209,6 @@ gmw_probe_device_data_save (GmwProbeDevice *dev,
        return TRUE;
 }
 
-/**
- * gmw_probe_device_data_set_dummy:
- **/
 static gboolean
 gmw_probe_device_data_set_dummy (GmwProbeDevice *dev,
                                 GCancellable *cancellable,
@@ -261,9 +234,6 @@ gmw_probe_device_data_set_dummy (GmwProbeDevice *dev,
        return TRUE;
 }
 
-/**
- * gmw_probe_device_data_verify:
- **/
 static gboolean
 gmw_probe_device_data_verify (GmwProbeDevice *dev,
                              GCancellable *cancellable,
@@ -313,9 +283,6 @@ gmw_probe_device_data_verify (GmwProbeDevice *dev,
        return TRUE;
 }
 
-/**
- * gmw_probe_device_data_restore:
- **/
 static gboolean
 gmw_probe_device_data_restore (GmwProbeDevice *dev,
                               GCancellable *cancellable,
@@ -342,9 +309,6 @@ gmw_probe_device_data_restore (GmwProbeDevice *dev,
        return TRUE;
 }
 
-/**
- * gmw_probe_scan_device:
- **/
 static gboolean
 gmw_probe_scan_device (GmwProbeDevice *dev, GCancellable *cancellable, GError **error)
 {
@@ -442,9 +406,6 @@ gmw_probe_scan_device (GmwProbeDevice *dev, GCancellable *cancellable, GError **
        return TRUE;
 }
 
-/**
- * gmw_probe_use_device:
- **/
 static gboolean
 gmw_probe_use_device (GUdevClient *udev_client,
                      const gchar *block_dev,
@@ -492,9 +453,6 @@ gmw_probe_use_device (GUdevClient *udev_client,
        return TRUE;
 }
 
-/**
- * gmw_probe_is_block_device_valid:
- **/
 static gboolean
 gmw_probe_is_block_device_valid (const gchar *block_device)
 {
@@ -513,9 +471,6 @@ gmw_probe_is_block_device_valid (const gchar *block_device)
 }
 
 
-/**
- * gmw_probe_is_block_device_mounted:
- **/
 static gboolean
 gmw_probe_is_block_device_mounted (const gchar *block_device)
 {
@@ -525,9 +480,6 @@ gmw_probe_is_block_device_mounted (const gchar *block_device)
        return g_strrstr (data, block_device) != NULL;
 }
 
-/**
- * main:
- **/
 int
 main (int argc, char **argv)
 {


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