[gnome-color-manager] trivial: Remove useless static gtk-doc markup
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: Remove useless static gtk-doc markup
- Date: Mon, 18 Jul 2016 15:22:55 +0000 (UTC)
commit 97d7e4ba506e88c2c31f7935ef58676ba790bc48
Author: Richard Hughes <richard hughsie com>
Date: Mon Jul 18 16:22:21 2016 +0100
trivial: Remove useless static gtk-doc markup
src/gcm-calibrate-argyll.c | 144 ----------------------------------
src/gcm-calibrate-main.c | 123 -----------------------------
src/gcm-calibrate.c | 103 ------------------------
src/gcm-cell-renderer-color.c | 10 ---
src/gcm-cell-renderer-profile-text.c | 10 ---
src/gcm-cie-widget.c | 73 -----------------
src/gcm-debug.c | 20 -----
src/gcm-exif.c | 46 -----------
src/gcm-gamma-widget.c | 33 --------
src/gcm-import.c | 6 --
src/gcm-inspect.c | 15 ----
src/gcm-picker.c | 48 -----------
src/gcm-print.c | 36 ---------
src/gcm-trc-widget.c | 43 ----------
src/gcm-utils.c | 28 -------
src/gcm-viewer.c | 96 ----------------------
16 files changed, 0 insertions(+), 834 deletions(-)
---
diff --git a/src/gcm-calibrate-argyll.c b/src/gcm-calibrate-argyll.c
index 820154a..1f1ef4f 100644
--- a/src/gcm-calibrate-argyll.c
+++ b/src/gcm-calibrate-argyll.c
@@ -55,11 +55,6 @@ typedef enum {
GCM_CALIBRATE_ARGYLL_STATE_LAST
} GcmCalibrateArgyllState;
-/**
- * GcmCalibrateArgyllPrivate:
- *
- * Private #GcmCalibrateArgyll data
- **/
struct _GcmCalibrateArgyllPrivate
{
GMainLoop *loop;
@@ -80,9 +75,6 @@ struct _GcmCalibrateArgyllPrivate
G_DEFINE_TYPE (GcmCalibrateArgyll, gcm_calibrate_argyll, GCM_TYPE_CALIBRATE)
-/**
- * gcm_calibrate_argyll_get_quality_arg:
- **/
static const gchar *
gcm_calibrate_argyll_get_quality_arg (GcmCalibrateArgyll *calibrate_argyll)
{
@@ -110,9 +102,6 @@ gcm_calibrate_argyll_get_quality_arg (GcmCalibrateArgyll *calibrate_argyll)
return "-qm";
}
-/**
- * gcm_calibrate_argyll_get_tool_filename:
- **/
static gchar *
gcm_calibrate_argyll_get_tool_filename (const gchar *command,
GError **error)
@@ -151,9 +140,6 @@ out:
return filename;
}
-/**
- * gcm_calibrate_argyll_get_display:
- **/
static guint
gcm_calibrate_argyll_get_display (const gchar *output_name,
GError **error)
@@ -239,9 +225,6 @@ out:
return display;
}
-/**
- * gcm_calibrate_argyll_get_display_kind:
- **/
static gchar
gcm_calibrate_argyll_get_display_kind (GcmCalibrateArgyll *calibrate_argyll)
{
@@ -268,9 +251,6 @@ gcm_calibrate_argyll_get_display_kind (GcmCalibrateArgyll *calibrate_argyll)
return '\0';
}
-/**
- * gcm_calibrate_argyll_get_sensor_test_window_size:
- **/
static const gchar *
gcm_calibrate_argyll_get_sensor_test_window_size (GcmCalibrateArgyll *calibrate_argyll)
{
@@ -294,9 +274,6 @@ gcm_calibrate_argyll_get_sensor_test_window_size (GcmCalibrateArgyll *calibrate_
return "0.5,0.5,1.0,1.0";
}
-/**
- * gcm_calibrate_argyll_debug_argv:
- **/
static void
gcm_calibrate_argyll_debug_argv (const gchar *program, gchar **argv)
{
@@ -306,9 +283,6 @@ gcm_calibrate_argyll_debug_argv (const gchar *program, gchar **argv)
g_free (join);
}
-/**
- * gcm_calibrate_argyll_fork_command:
- **/
static gboolean
gcm_calibrate_argyll_fork_command (GcmCalibrateArgyll *calibrate_argyll,
gchar **argv,
@@ -356,9 +330,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_argyll_display_neutralise:
- **/
static gboolean
gcm_calibrate_argyll_display_neutralise (GcmCalibrateArgyll *calibrate_argyll,
GError **error)
@@ -475,9 +446,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_argyll_display_read_chart:
- **/
static gboolean
gcm_calibrate_argyll_display_read_chart (GcmCalibrateArgyll *calibrate_argyll,
GError **error)
@@ -564,9 +532,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_argyll_display_draw_and_measure:
- **/
static gboolean
gcm_calibrate_argyll_display_draw_and_measure (GcmCalibrateArgyll *calibrate_argyll,
GError **error)
@@ -680,9 +645,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_argyll_display_generate_profile:
- **/
static gboolean
gcm_calibrate_argyll_display_generate_profile (GcmCalibrateArgyll *calibrate_argyll,
GError **error)
@@ -786,9 +748,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_argyll_reference_kind_to_filename:
- **/
static const gchar *
gcm_calibrate_argyll_reference_kind_to_filename (GcmCalibrateReferenceKind kind)
{
@@ -816,9 +775,6 @@ gcm_calibrate_argyll_reference_kind_to_filename (GcmCalibrateReferenceKind kind)
return NULL;
}
-/**
- * gcm_utils_mkdir_and_copy:
- **/
static gboolean
gcm_utils_mkdir_and_copy (GFile *source,
GFile *destination,
@@ -846,9 +802,6 @@ gcm_utils_mkdir_and_copy (GFile *source,
error);
}
-/**
- * gcm_calibrate_argyll_device_copy:
- **/
static gboolean
gcm_calibrate_argyll_device_copy (GcmCalibrateArgyll *calibrate_argyll,
GError **error)
@@ -916,9 +869,6 @@ gcm_calibrate_argyll_device_copy (GcmCalibrateArgyll *calibrate_argyll,
return TRUE;
}
-/**
- * gcm_calibrate_argyll_device_measure:
- **/
static gboolean
gcm_calibrate_argyll_device_measure (GcmCalibrateArgyll *calibrate_argyll,
GError **error)
@@ -1010,9 +960,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_argyll_device_generate_profile:
- **/
static gboolean
gcm_calibrate_argyll_device_generate_profile (GcmCalibrateArgyll *calibrate_argyll,
GError **error)
@@ -1122,9 +1069,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_argyll_set_filename_result:
- **/
static gboolean
gcm_calibrate_argyll_set_filename_result (GcmCalibrateArgyll *calibrate_argyll,
GError **error)
@@ -1173,9 +1117,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_argyll_remove_temp_files:
- **/
static gboolean
gcm_calibrate_argyll_remove_temp_files (GcmCalibrateArgyll *calibrate_argyll,
GError **error)
@@ -1225,9 +1166,6 @@ gcm_calibrate_argyll_remove_temp_files (GcmCalibrateArgyll *calibrate_argyll,
return ret;
}
-/**
- * gcm_calibrate_argyll_display:
- **/
static gboolean
gcm_calibrate_argyll_display (GcmCalibrate *calibrate,
CdDevice *device,
@@ -1298,9 +1236,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_argyll_interaction:
- **/
static void
gcm_calibrate_argyll_interaction (GcmCalibrate *calibrate, GtkResponseType response)
{
@@ -1357,9 +1292,6 @@ out:
return;
}
-/**
- * gcm_calibrate_argyll_get_sensor_target:
- **/
static const gchar *
gcm_calibrate_argyll_get_sensor_target (GcmCalibrateArgyll *calibrate_argyll)
{
@@ -1386,9 +1318,6 @@ gcm_calibrate_argyll_get_sensor_target (GcmCalibrateArgyll *calibrate_argyll)
return NULL;
}
-/**
- * gcm_calibrate_argyll_printer_generate_targets:
- **/
static gboolean
gcm_calibrate_argyll_printer_generate_targets (GcmCalibrateArgyll *calibrate_argyll,
gdouble width,
@@ -1495,9 +1424,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_argyll_get_enabled:
- **/
static gboolean
gcm_calibrate_argyll_get_enabled (GcmCalibrate *calibrate)
{
@@ -1513,9 +1439,6 @@ gcm_calibrate_argyll_get_enabled (GcmCalibrate *calibrate)
return TRUE;
}
-/**
- * gcm_calibrate_argyll_render_cb:
- **/
static GPtrArray *
gcm_calibrate_argyll_render_cb (GcmPrint *print,
GtkPageSetup *page_setup,
@@ -1574,9 +1497,6 @@ out:
return array;
}
-/**
- * gcm_calibrate_argyll_set_device_from_ti2:
- **/
static gboolean
gcm_calibrate_argyll_set_device_from_ti2 (GcmCalibrate *calibrate,
const gchar *filename,
@@ -1631,9 +1551,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_argyll_get_paper_size:
- **/
static GtkPaperSize *
gcm_calibrate_argyll_get_paper_size (GcmCalibrate *calibrate, GtkWindow *window)
{
@@ -1650,9 +1567,6 @@ gcm_calibrate_argyll_get_paper_size (GcmCalibrate *calibrate, GtkWindow *window)
return gtk_page_setup_get_paper_size (page_setup);
}
-/**
- * gcm_calibrate_argyll_printer_convert_jpeg:
- **/
static gboolean
gcm_calibrate_argyll_printer_convert_jpeg (GcmCalibrateArgyll *calibrate_argyll,
GError **error)
@@ -1706,9 +1620,6 @@ gcm_calibrate_argyll_printer_convert_jpeg (GcmCalibrateArgyll *calibrate_argyll,
return TRUE;
}
-/**
- * gcm_calibrate_argyll_printer:
- **/
static gboolean
gcm_calibrate_argyll_printer (GcmCalibrate *calibrate,
CdDevice *device,
@@ -1848,9 +1759,6 @@ gcm_calibrate_argyll_printer (GcmCalibrate *calibrate,
return TRUE;
}
-/**
- * gcm_calibrate_argyll_pixbuf_remove_alpha:
- **/
static GdkPixbuf *
gcm_calibrate_argyll_pixbuf_remove_alpha (const GdkPixbuf *pixbuf)
{
@@ -1885,9 +1793,6 @@ out:
return new_pixbuf;
}
-/**
- * gcm_calibrate_argyll_check_and_remove_alpha:
- **/
static gboolean
gcm_calibrate_argyll_check_and_remove_alpha (GcmCalibrateArgyll *calibrate_argyll,
GError **error)
@@ -1932,9 +1837,6 @@ gcm_calibrate_argyll_check_and_remove_alpha (GcmCalibrateArgyll *calibrate_argyl
return gdk_pixbuf_save (pixbuf_new, reference_image, "tiff", error, NULL);
}
-/**
- * gcm_calibrate_argyll_device:
- **/
static gboolean
gcm_calibrate_argyll_device (GcmCalibrate *calibrate,
CdDevice *device,
@@ -2005,9 +1907,6 @@ out:
static void gcm_calibrate_argyll_flush_vte (GcmCalibrateArgyll *calibrate_argyll);
-/**
- * gcm_calibrate_argyll_exit_cb:
- **/
static void
gcm_calibrate_argyll_exit_cb (VteTerminal *terminal,
gint exit_status,
@@ -2031,9 +1930,6 @@ gcm_calibrate_argyll_exit_cb (VteTerminal *terminal,
}
}
-/**
- * gcm_calibrate_argyll_timeout_cb:
- **/
static gboolean
gcm_calibrate_argyll_timeout_cb (GcmCalibrateArgyll *calibrate_argyll)
{
@@ -2041,9 +1937,6 @@ gcm_calibrate_argyll_timeout_cb (GcmCalibrateArgyll *calibrate_argyll)
return FALSE;
}
-/**
- * gcm_calibrate_argyll_interaction_attach:
- **/
static void
gcm_calibrate_argyll_interaction_attach (GcmCalibrateArgyll *calibrate_argyll)
{
@@ -2073,9 +1966,6 @@ out:
return;
}
-/**
- * gcm_calibrate_argyll_interaction_calibrate:
- **/
static void
gcm_calibrate_argyll_interaction_calibrate (GcmCalibrateArgyll *calibrate_argyll)
{
@@ -2096,9 +1986,6 @@ gcm_calibrate_argyll_interaction_calibrate (GcmCalibrateArgyll *calibrate_argyll
priv->state = GCM_CALIBRATE_ARGYLL_STATE_WAITING_FOR_STDIN;
}
-/**
- * gcm_calibrate_argyll_interaction_surface:
- **/
static void
gcm_calibrate_argyll_interaction_surface (GcmCalibrateArgyll *calibrate_argyll)
{
@@ -2118,11 +2005,6 @@ gcm_calibrate_argyll_interaction_surface (GcmCalibrateArgyll *calibrate_argyll)
priv->state = GCM_CALIBRATE_ARGYLL_STATE_WAITING_FOR_STDIN;
}
-/**
- * gcm_calibrate_argyll_process_output_cmd:
- *
- * Return value: if FALSE then abort processing input
- **/
static gboolean
gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll,
const gchar *line)
@@ -2441,9 +2323,6 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll,
#endif
#ifdef HAVE_VTE
-/**
- * gcm_calibrate_argyll_selection_func_cb:
- **/
static gboolean
gcm_calibrate_argyll_selection_func_cb (VteTerminal *terminal,
glong column,
@@ -2454,9 +2333,6 @@ gcm_calibrate_argyll_selection_func_cb (VteTerminal *terminal,
return TRUE;
}
-/**
- * gcm_calibrate_argyll_flush_vte:
- **/
static void
gcm_calibrate_argyll_flush_vte (GcmCalibrateArgyll *calibrate_argyll)
{
@@ -2493,9 +2369,6 @@ gcm_calibrate_argyll_flush_vte (GcmCalibrateArgyll *calibrate_argyll)
priv->vte_previous_col = col;
}
-/**
- * gcm_calibrate_argyll_cursor_moved_cb:
- **/
static void
gcm_calibrate_argyll_cursor_moved_cb (VteTerminal *terminal,
GcmCalibrateArgyll *calibrate_argyll)
@@ -2505,9 +2378,6 @@ gcm_calibrate_argyll_cursor_moved_cb (VteTerminal *terminal,
#endif
-/**
- * gcm_calibrate_argyll_status_changed_cb:
- **/
static void
gcm_calibrate_argyll_status_changed_cb (GcmPrint *print,
GtkPrintStatus status,
@@ -2558,9 +2428,6 @@ gcm_calibrate_argyll_status_changed_cb (GcmPrint *print,
}
}
-/**
- * gcm_calibrate_argyll_class_init:
- **/
static void
gcm_calibrate_argyll_class_init (GcmCalibrateArgyllClass *klass)
{
@@ -2578,9 +2445,6 @@ gcm_calibrate_argyll_class_init (GcmCalibrateArgyllClass *klass)
g_type_class_add_private (klass, sizeof (GcmCalibrateArgyllPrivate));
}
-/**
- * gcm_calibrate_argyll_init:
- **/
static void
gcm_calibrate_argyll_init (GcmCalibrateArgyll *calibrate_argyll)
{
@@ -2607,9 +2471,6 @@ gcm_calibrate_argyll_init (GcmCalibrateArgyll *calibrate_argyll)
#endif
}
-/**
- * gcm_calibrate_argyll_finalize:
- **/
static void
gcm_calibrate_argyll_finalize (GObject *object)
{
@@ -2644,11 +2505,6 @@ gcm_calibrate_argyll_finalize (GObject *object)
G_OBJECT_CLASS (gcm_calibrate_argyll_parent_class)->finalize (object);
}
-/**
- * gcm_calibrate_argyll_new:
- *
- * Return value: a new GcmCalibrateArgyll object.
- **/
GcmCalibrate *
gcm_calibrate_argyll_new (void)
{
diff --git a/src/gcm-calibrate-main.c b/src/gcm-calibrate-main.c
index 69abdf3..a14ac58 100644
--- a/src/gcm-calibrate-main.c
+++ b/src/gcm-calibrate-main.c
@@ -76,9 +76,6 @@ typedef struct {
gint inhibit_cookie;
} GcmCalibratePriv;
-/**
- * gcm_window_set_parent_xid:
- **/
static void
gcm_window_set_parent_xid (GtkWindow *window, guint32 xid)
{
@@ -106,9 +103,6 @@ gcm_window_set_parent_xid (GtkWindow *window, guint32 xid)
gtk_window_set_title (window, "");
}
-/**
- * gcm_calib_activate_cb:
- **/
static void
gcm_calib_activate_cb (GApplication *application, GcmCalibratePriv *priv)
{
@@ -128,9 +122,6 @@ gcm_calib_confirm_quit_cb (GtkDialog *dialog,
g_application_release (G_APPLICATION (priv->application));
}
-/**
- * gcm_calib_confirm_quit:
- **/
static void
gcm_calib_confirm_quit (GcmCalibratePriv *priv)
{
@@ -162,9 +153,6 @@ gcm_calib_confirm_quit (GcmCalibratePriv *priv)
gtk_widget_show (dialog);
}
-/**
- * gcm_calib_delete_event_cb:
- **/
static gboolean
gcm_calib_delete_event_cb (GtkWidget *widget, GdkEvent *event, GcmCalibratePriv *priv)
{
@@ -172,27 +160,18 @@ gcm_calib_delete_event_cb (GtkWidget *widget, GdkEvent *event, GcmCalibratePriv
return FALSE;
}
-/**
- * gcm_calib_assistant_cancel_cb:
- **/
static void
gcm_calib_assistant_cancel_cb (GtkAssistant *assistant, GcmCalibratePriv *priv)
{
gcm_calib_confirm_quit (priv);
}
-/**
- * gcm_calib_assistant_close_cb:
- **/
static void
gcm_calib_assistant_close_cb (GtkAssistant *assistant, GcmCalibratePriv *priv)
{
g_application_release (G_APPLICATION (priv->application));
}
-/**
- * gcm_calib_play_sound:
- **/
static void
gcm_calib_play_sound (GcmCalibratePriv *priv)
{
@@ -207,9 +186,6 @@ gcm_calib_play_sound (GcmCalibratePriv *priv)
}
-/**
- * gcm_calib_get_vbox_for_page:
- **/
static GtkWidget *
gcm_calib_get_vbox_for_page (GcmCalibratePriv *priv,
GcmCalibratePage page)
@@ -350,9 +326,6 @@ out:
return ret;
}
-/**
- * gcm_calib_set_sensor_options_cb:
- **/
static void
gcm_calib_set_sensor_options_cb (GObject *object,
GAsyncResult *res,
@@ -544,9 +517,6 @@ gcm_calib_assistant_page_forward_cb (gint current_page, gpointer user_data)
return current_page;
}
-/**
- * gcm_calib_assistant_prepare_cb:
- **/
static gboolean
gcm_calib_assistant_prepare_cb (GtkAssistant *assistant,
GtkWidget *page_widget,
@@ -599,9 +569,6 @@ gcm_calib_assistant_prepare_cb (GtkAssistant *assistant,
return FALSE;
}
-/**
- * gcm_calib_add_page_title:
- **/
static GtkWidget *
gcm_calib_add_page_title (GcmCalibratePriv *priv, const gchar *text)
{
@@ -648,9 +615,6 @@ gcm_calib_label_activate_link_cb (GtkLabel *label,
return ret;
}
-/**
- * gcm_calib_add_page_para:
- **/
static GtkWidget *
gcm_calib_add_page_para (GtkWidget *vbox, const gchar *text)
{
@@ -674,9 +638,6 @@ gcm_calib_add_page_para (GtkWidget *vbox, const gchar *text)
return label;
}
-/**
- * gcm_calib_add_page_bullet:
- **/
static void
gcm_calib_add_page_bullet (GtkWidget *vbox, const gchar *text)
{
@@ -685,9 +646,6 @@ gcm_calib_add_page_bullet (GtkWidget *vbox, const gchar *text)
gcm_calib_add_page_para (vbox, markup);
}
-/**
- * gcm_calib_setup_page_intro:
- **/
static void
gcm_calib_setup_page_intro (GcmCalibratePriv *priv)
{
@@ -748,9 +706,6 @@ gcm_calib_setup_page_intro (GcmCalibratePriv *priv)
gtk_widget_show_all (vbox);
}
-/**
- * gcm_calibrate_is_livecd:
- **/
static gboolean
gcm_calibrate_is_livecd (void)
{
@@ -771,9 +726,6 @@ gcm_calibrate_is_livecd (void)
#endif
}
-/**
- * gcm_calib_show_profile_button_clicked_cb:
- **/
static void
gcm_calib_show_profile_button_clicked_cb (GtkButton *button,
GcmCalibratePriv *priv)
@@ -799,9 +751,6 @@ gcm_calib_show_profile_button_clicked_cb (GtkButton *button,
}
}
-/**
- * gcm_calib_get_show_profile_button:
- **/
static GtkWidget *
gcm_calib_get_show_profile_button (GcmCalibratePriv *priv)
{
@@ -835,9 +784,6 @@ gcm_calib_get_show_profile_button (GcmCalibratePriv *priv)
return button;
}
-/**
- * gcm_calib_setup_page_summary:
- **/
static void
gcm_calib_setup_page_summary (GcmCalibratePriv *priv)
{
@@ -909,9 +855,6 @@ gcm_calib_setup_page_summary (GcmCalibratePriv *priv)
gtk_widget_show_all (vbox);
}
-/**
- * gcm_calib_setup_page_action:
- **/
static void
gcm_calib_setup_page_action (GcmCalibratePriv *priv)
{
@@ -965,9 +908,6 @@ gcm_calib_setup_page_action (GcmCalibratePriv *priv)
gtk_widget_hide (priv->action_image);
}
-/**
- * gcm_calib_setup_page_display_configure_wait:
- **/
static void
gcm_calib_setup_page_display_configure_wait (GcmCalibratePriv *priv)
{
@@ -1023,9 +963,6 @@ if(0) gcm_calib_add_page_bullet (content, _("Adjust the display brightness to a
gtk_widget_show_all (vbox);
}
-/**
- * gcm_calib_button_clicked_install_argyllcms_cb:
- **/
static void
gcm_calib_button_clicked_install_argyllcms_cb (GtkButton *button, GcmCalibratePriv *priv)
{
@@ -1047,9 +984,6 @@ gcm_calib_button_clicked_install_argyllcms_cb (GtkButton *button, GcmCalibratePr
}
}
-/**
- * gcm_calib_setup_page_install_argyllcms:
- **/
static void
gcm_calib_setup_page_install_argyllcms (GcmCalibratePriv *priv)
{
@@ -1099,9 +1033,6 @@ gcm_calib_setup_page_install_argyllcms (GcmCalibratePriv *priv)
gtk_widget_show_all (vbox);
}
-/**
- * gcm_calib_button_clicked_install_targets_cb:
- **/
static void
gcm_calib_button_clicked_install_targets_cb (GtkButton *button, GcmCalibratePriv *priv)
{
@@ -1122,9 +1053,6 @@ gcm_calib_button_clicked_install_targets_cb (GtkButton *button, GcmCalibratePriv
}
}
-/**
- * gcm_calib_setup_page_install_targets:
- **/
static void
gcm_calib_setup_page_install_targets (GcmCalibratePriv *priv)
{
@@ -1177,9 +1105,6 @@ gcm_calib_setup_page_install_targets (GcmCalibratePriv *priv)
}
-/**
- * gcm_calib_reference_kind_to_localised_string:
- **/
static const gchar *
gcm_calib_reference_kind_to_localised_string (GcmCalibrateReferenceKind kind)
{
@@ -1226,9 +1151,6 @@ gcm_calib_reference_kind_to_localised_string (GcmCalibrateReferenceKind kind)
return NULL;
}
-/**
- * gcm_calib_reference_kind_to_image_filename:
- **/
static const gchar *
gcm_calib_reference_kind_to_image_filename (GcmCalibrateReferenceKind kind)
{
@@ -1255,9 +1177,6 @@ gcm_calib_reference_kind_to_image_filename (GcmCalibrateReferenceKind kind)
return NULL;
}
-/**
- * gcm_calib_reference_kind_combobox_cb:
- **/
static void
gcm_calib_reference_kind_combobox_cb (GtkComboBox *combo_box,
GcmCalibratePriv *priv)
@@ -1281,9 +1200,6 @@ gcm_calib_reference_kind_combobox_cb (GtkComboBox *combo_box,
gtk_image_set_from_file (GTK_IMAGE (priv->reference_preview), path);
}
-/**
- * gcm_calib_setup_page_target_kind:
- **/
static void
gcm_calib_setup_page_target_kind (GcmCalibratePriv *priv)
{
@@ -1376,9 +1292,6 @@ gcm_calib_display_kind_toggled_cb (GtkToggleButton *togglebutton,
NULL);
}
-/**
- * gcm_calib_setup_page_display_kind:
- **/
static void
gcm_calib_setup_page_display_kind (GcmCalibratePriv *priv)
{
@@ -1498,9 +1411,6 @@ gcm_calib_display_temp_toggled_cb (GtkToggleButton *togglebutton,
NULL);
}
-/**
- * gcm_calib_setup_page_display_temp:
- **/
static void
gcm_calib_setup_page_display_temp (GcmCalibratePriv *priv)
{
@@ -1594,9 +1504,6 @@ gcm_calib_print_kind_toggled_cb (GtkToggleButton *togglebutton,
NULL);
}
-/**
- * gcm_calib_setup_page_print_kind:
- **/
static void
gcm_calib_setup_page_print_kind (GcmCalibratePriv *priv)
{
@@ -1676,9 +1583,6 @@ gcm_calib_precision_toggled_cb (GtkToggleButton *togglebutton,
NULL);
}
-/**
- * gcm_calib_setup_page_precision:
- **/
static void
gcm_calib_setup_page_precision (GcmCalibratePriv *priv)
{
@@ -1801,9 +1705,6 @@ gcm_calib_text_changed_cb (GtkEntry *entry,
NULL);
}
-/**
- * gcm_calib_setup_page_profile_title:
- **/
static void
gcm_calib_setup_page_profile_title (GcmCalibratePriv *priv)
{
@@ -1853,9 +1754,6 @@ gcm_calib_setup_page_profile_title (GcmCalibratePriv *priv)
gtk_widget_show_all (vbox);
}
-/**
- * gcm_calib_setup_page_sensor:
- **/
static void
gcm_calib_setup_page_sensor (GcmCalibratePriv *priv)
{
@@ -1888,9 +1786,6 @@ gcm_calib_setup_page_sensor (GcmCalibratePriv *priv)
gtk_widget_show_all (vbox);
}
-/**
- * gcm_calib_setup_page_failure:
- **/
static void
gcm_calib_setup_page_failure (GcmCalibratePriv *priv)
{
@@ -1923,9 +1818,6 @@ gcm_calib_setup_page_failure (GcmCalibratePriv *priv)
gtk_widget_show_all (vbox);
}
-/**
- * gcm_calib_got_sensor:
- **/
static void
gcm_calib_got_sensor (GcmCalibratePriv *priv, CdSensor *sensor)
{
@@ -1959,9 +1851,6 @@ gcm_calib_got_sensor (GcmCalibratePriv *priv, CdSensor *sensor)
}
}
-/**
- * gcm_calib_get_sensors_cb:
- **/
static void
gcm_calib_get_sensors_cb (GObject *object,
GAsyncResult *res,
@@ -1988,9 +1877,6 @@ gcm_calib_get_sensors_cb (GObject *object,
}
}
-/**
- * gcm_calib_add_pages:
- **/
static void
gcm_calib_add_pages (GcmCalibratePriv *priv)
{
@@ -2048,9 +1934,6 @@ gcm_calib_add_pages (GcmCalibratePriv *priv)
priv);
}
-/**
- * gcm_calib_sensor_added_cb:
- **/
static void
gcm_calib_sensor_added_cb (CdClient *client, CdSensor *sensor, GcmCalibratePriv *priv)
{
@@ -2059,9 +1942,6 @@ gcm_calib_sensor_added_cb (CdClient *client, CdSensor *sensor, GcmCalibratePriv
gtk_assistant_next_page (GTK_ASSISTANT (priv->main_window));
}
-/**
- * gcm_calib_startup_cb:
- **/
static void
gcm_calib_startup_cb (GApplication *application, GcmCalibratePriv *priv)
{
@@ -2269,9 +2149,6 @@ gcm_calib_interaction_required_cb (GcmCalibrate *calibrate,
priv->has_pending_interaction = TRUE;
}
-/**
- * main:
- **/
int
main (int argc, char **argv)
{
diff --git a/src/gcm-calibrate.c b/src/gcm-calibrate.c
index 4f48386..620b0fc 100644
--- a/src/gcm-calibrate.c
+++ b/src/gcm-calibrate.c
@@ -36,11 +36,6 @@ static void gcm_calibrate_finalize (GObject *object);
#define GCM_CALIBRATE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GCM_TYPE_CALIBRATE,
GcmCalibratePrivate))
-/**
- * GcmCalibratePrivate:
- *
- * Private #GcmCalibrate data
- **/
typedef struct
{
GcmBrightness *brightness;
@@ -124,9 +119,6 @@ gcm_calibrate_get_content_widget (GcmCalibrate *calibrate)
return priv->content_widget;
}
-/**
- * gcm_calibrate_mkdir_with_parents:
- **/
static gboolean
gcm_calibrate_mkdir_with_parents (const gchar *filename, GError **error)
{
@@ -141,9 +133,6 @@ gcm_calibrate_mkdir_with_parents (const gchar *filename, GError **error)
return TRUE;
}
-/**
- * gcm_calibrate_get_time:
- **/
static gchar *
gcm_calibrate_get_time (void)
{
@@ -159,9 +148,6 @@ gcm_calibrate_get_time (void)
return text;
}
-/**
- * gcm_calibrate_get_filename_result:
- **/
const gchar *
gcm_calibrate_get_filename_result (GcmCalibrate *calibrate)
{
@@ -169,9 +155,6 @@ gcm_calibrate_get_filename_result (GcmCalibrate *calibrate)
return priv->filename_result;
}
-/**
- * gcm_calibrate_get_working_path:
- **/
const gchar *
gcm_calibrate_get_working_path (GcmCalibrate *calibrate)
{
@@ -179,9 +162,6 @@ gcm_calibrate_get_working_path (GcmCalibrate *calibrate)
return priv->working_path;
}
-/**
- * gcm_calibrate_get_basename:
- **/
const gchar *
gcm_calibrate_get_basename (GcmCalibrate *calibrate)
{
@@ -189,9 +169,6 @@ gcm_calibrate_get_basename (GcmCalibrate *calibrate)
return priv->basename;
}
-/**
- * gcm_calibrate_get_screen_brightness:
- **/
guint
gcm_calibrate_get_screen_brightness (GcmCalibrate *calibrate)
{
@@ -199,9 +176,6 @@ gcm_calibrate_get_screen_brightness (GcmCalibrate *calibrate)
return priv->new_brightness;
}
-/**
- * gcm_calibrate_set_basename:
- **/
static void
gcm_calibrate_set_basename (GcmCalibrate *calibrate)
{
@@ -248,9 +222,6 @@ gcm_calibrate_set_basename (GcmCalibrate *calibrate)
g_string_free (basename, TRUE);
}
-/**
- * gcm_calibrate_set_from_exif:
- **/
gboolean
gcm_calibrate_set_from_exif (GcmCalibrate *calibrate, const gchar *filename, GError **error)
{
@@ -302,9 +273,6 @@ gcm_calibrate_get_sensor (GcmCalibrate *calibrate)
return priv->sensor;
}
-/**
- * gcm_calibrate_set_working_path:
- **/
static gboolean
gcm_calibrate_set_working_path (GcmCalibrate *calibrate, GError **error)
{
@@ -326,9 +294,6 @@ gcm_calibrate_set_working_path (GcmCalibrate *calibrate, GError **error)
return ret;
}
-/**
- * gcm_calibrate_interaction:
- **/
void
gcm_calibrate_interaction (GcmCalibrate *calibrate, GtkResponseType response)
{
@@ -360,9 +325,6 @@ gcm_calibrate_interaction (GcmCalibrate *calibrate, GtkResponseType response)
klass->interaction (calibrate, response);
}
-/**
- * gcm_calibrate_copy_file:
- **/
static gboolean
gcm_calibrate_copy_file (const gchar *src,
const gchar *dest,
@@ -383,9 +345,6 @@ gcm_calibrate_copy_file (const gchar *src,
error);
}
-/**
- * gcm_calibrate_interaction_attach:
- **/
void
gcm_calibrate_interaction_attach (GcmCalibrate *calibrate)
{
@@ -433,9 +392,6 @@ gcm_calibrate_interaction_attach (GcmCalibrate *calibrate)
g_string_free (message, TRUE);
}
-/**
- * gcm_calibrate_interaction_screen:
- **/
void
gcm_calibrate_interaction_screen (GcmCalibrate *calibrate)
{
@@ -472,9 +428,6 @@ gcm_calibrate_interaction_screen (GcmCalibrate *calibrate)
CA_PROP_EVENT_DESCRIPTION, "correct hardware state", NULL);
}
-/**
- * gcm_calibrate_interaction_calibrate:
- **/
void
gcm_calibrate_interaction_calibrate (GcmCalibrate *calibrate)
{
@@ -514,9 +467,6 @@ gcm_calibrate_interaction_calibrate (GcmCalibrate *calibrate)
CA_PROP_EVENT_DESCRIPTION, "setup calibration tool", NULL);
}
-/**
- * gcm_calibrate_set_brightness:
- **/
static void
gcm_calibrate_set_brightness (GcmCalibrate *calibrate, CdDevice *device)
{
@@ -555,9 +505,6 @@ gcm_calibrate_set_brightness (GcmCalibrate *calibrate, CdDevice *device)
}
}
-/**
- * gcm_calibrate_unset_brightness:
- **/
static void
gcm_calibrate_unset_brightness (GcmCalibrate *calibrate, CdDevice *device)
{
@@ -586,9 +533,6 @@ gcm_calibrate_unset_brightness (GcmCalibrate *calibrate, CdDevice *device)
g_warning ("failed to set brightness: %s", error->message);
}
-/**
- * gcm_calibrate_display:
- **/
static gboolean
gcm_calibrate_display (GcmCalibrate *calibrate,
CdDevice *device,
@@ -655,9 +599,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_camera_get_reference_image:
- **/
static gchar *
gcm_calibrate_camera_get_reference_image (const gchar *directory, GtkWindow *window)
{
@@ -702,9 +643,6 @@ gcm_calibrate_camera_get_reference_image (const gchar *directory, GtkWindow *win
return filename;
}
-/**
- * gcm_calibrate_camera_get_reference_data:
- **/
static gchar *
gcm_calibrate_camera_get_reference_data (const gchar *directory, GtkWindow *window)
{
@@ -756,9 +694,6 @@ gcm_calibrate_camera_get_reference_data (const gchar *directory, GtkWindow *wind
return filename;
}
-/**
- * gcm_calibrate_get_device_for_it8_file:
- **/
static gchar *
gcm_calibrate_get_device_for_it8_file (const gchar *filename)
{
@@ -788,9 +723,6 @@ gcm_calibrate_get_device_for_it8_file (const gchar *filename)
return device;
}
-/**
- * gcm_calibrate_file_chooser_get_working_path:
- **/
static gchar *
gcm_calibrate_file_chooser_get_working_path (GcmCalibrate *calibrate, GtkWindow *window)
{
@@ -824,9 +756,6 @@ gcm_calibrate_file_chooser_get_working_path (GcmCalibrate *calibrate, GtkWindow
return working_path;
}
-/**
- * gcm_calibrate_printer:
- **/
static gboolean
gcm_calibrate_printer (GcmCalibrate *calibrate, CdDevice *device, GtkWindow *window, GError **error)
{
@@ -910,9 +839,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_get_enabled:
- **/
gboolean
gcm_calibrate_get_enabled (GcmCalibrate *calibrate)
{
@@ -922,9 +848,6 @@ gcm_calibrate_get_enabled (GcmCalibrate *calibrate)
return TRUE;
}
-/**
- * gcm_calibrate_get_reference_cie:
- **/
static const gchar *
gcm_calibrate_get_reference_cie (GcmCalibrateReferenceKind kind)
{
@@ -937,9 +860,6 @@ gcm_calibrate_get_reference_cie (GcmCalibrateReferenceKind kind)
return NULL;
}
-/**
- * gcm_calibrate_camera:
- **/
static gboolean
gcm_calibrate_camera (GcmCalibrate *calibrate, CdDevice *device, GtkWindow *window, GError **error)
{
@@ -1030,9 +950,6 @@ out:
return ret;
}
-/**
- * gcm_calibrate_device:
- **/
gboolean
gcm_calibrate_device (GcmCalibrate *calibrate,
CdDevice *device,
@@ -1157,9 +1074,6 @@ gcm_calibrate_interaction_required (GcmCalibrate *calibrate, const gchar *button
g_signal_emit (calibrate, signals[SIGNAL_INTERACTION_REQUIRED], 0, button_text);
}
-/**
- * gcm_calibrate_get_property:
- **/
static void
gcm_calibrate_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
{
@@ -1232,9 +1146,6 @@ gcm_calibrate_get_property (GObject *object, guint prop_id, GValue *value, GPara
}
-/**
- * gcm_calibrate_set_property:
- **/
static void
gcm_calibrate_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
{
@@ -1315,9 +1226,6 @@ gcm_calibrate_set_property (GObject *object, guint prop_id, const GValue *value,
}
}
-/**
- * gcm_calibrate_class_init:
- **/
static void
gcm_calibrate_class_init (GcmCalibrateClass *klass)
{
@@ -1454,9 +1362,6 @@ gcm_calibrate_class_init (GcmCalibrateClass *klass)
G_TYPE_NONE, 1, G_TYPE_STRING);
}
-/**
- * gcm_calibrate_init:
- **/
static void
gcm_calibrate_init (GcmCalibrate *calibrate)
{
@@ -1472,9 +1377,6 @@ gcm_calibrate_init (GcmCalibrate *calibrate)
priv->working_path = g_strdup ("/tmp");
}
-/**
- * gcm_calibrate_finalize:
- **/
static void
gcm_calibrate_finalize (GObject *object)
{
@@ -1502,11 +1404,6 @@ gcm_calibrate_finalize (GObject *object)
G_OBJECT_CLASS (gcm_calibrate_parent_class)->finalize (object);
}
-/**
- * gcm_calibrate_new:
- *
- * Return value: a new GcmCalibrate object.
- **/
GcmCalibrate *
gcm_calibrate_new (void)
{
diff --git a/src/gcm-cell-renderer-color.c b/src/gcm-cell-renderer-color.c
index b1b0bfd..0ea35ad 100644
--- a/src/gcm-cell-renderer-color.c
+++ b/src/gcm-cell-renderer-color.c
@@ -135,10 +135,6 @@ gcm_cell_renderer_color_set_property (GObject *object, guint param_id,
}
}
-/**
- * gcm_cell_renderer_finalize:
- * @object: The object to finalize
- **/
static void
gcm_cell_renderer_finalize (GObject *object)
{
@@ -175,18 +171,12 @@ gcm_cell_renderer_color_class_init (GcmCellRendererColorClass *class)
G_PARAM_READWRITE));
}
-/**
- * gcm_cell_renderer_color_init:
- **/
static void
gcm_cell_renderer_color_init (GcmCellRendererColor *renderer)
{
renderer->color = cd_color_lab_new ();
}
-/**
- * gcm_cell_renderer_color_new:
- **/
GtkCellRenderer *
gcm_cell_renderer_color_new (void)
{
diff --git a/src/gcm-cell-renderer-profile-text.c b/src/gcm-cell-renderer-profile-text.c
index 2513c32..0888e12 100644
--- a/src/gcm-cell-renderer-profile-text.c
+++ b/src/gcm-cell-renderer-profile-text.c
@@ -157,10 +157,6 @@ gcm_cell_renderer_profile_text_set_property (GObject *object, guint param_id,
}
}
-/**
- * gcm_cell_renderer_finalize:
- * @object: The object to finalize
- **/
static void
gcm_cell_renderer_finalize (GObject *object)
{
@@ -191,9 +187,6 @@ gcm_cell_renderer_profile_text_class_init (GcmCellRendererProfileTextClass *clas
"IS_DEFAULT", FALSE, G_PARAM_READWRITE));
}
-/**
- * gcm_cell_renderer_profile_text_init:
- **/
static void
gcm_cell_renderer_profile_text_init (GcmCellRendererProfileText *renderer)
{
@@ -202,9 +195,6 @@ gcm_cell_renderer_profile_text_init (GcmCellRendererProfileText *renderer)
renderer->markup = NULL;
}
-/**
- * gcm_cell_renderer_profile_text_new:
- **/
GtkCellRenderer *
gcm_cell_renderer_profile_text_new (void)
{
diff --git a/src/gcm-cie-widget.c b/src/gcm-cie-widget.c
index 6de337b..45f890d 100644
--- a/src/gcm-cie-widget.c
+++ b/src/gcm-cie-widget.c
@@ -402,9 +402,6 @@ enum
PROP_LAST
};
-/**
- * gcm_cie_get_property:
- **/
static void
gcm_cie_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
{
@@ -422,9 +419,6 @@ gcm_cie_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec
}
}
-/**
- * gcm_cie_set_property:
- **/
static void
gcm_cie_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
{
@@ -460,9 +454,6 @@ gcm_cie_set_property (GObject *object, guint prop_id, const GValue *value, GPara
gtk_widget_show (GTK_WIDGET (cie));
}
-/**
- * gcm_cie_widget_class_init:
- **/
static void
gcm_cie_widget_class_init (GcmCieWidgetClass *class)
{
@@ -509,9 +500,6 @@ gcm_cie_widget_class_init (GcmCieWidgetClass *class)
G_PARAM_WRITABLE));
}
-/**
- * gcm_cie_widget_set_from_profile:
- **/
void
gcm_cie_widget_set_from_profile (GtkWidget *widget, CdIcc *profile)
{
@@ -550,9 +538,6 @@ gcm_cie_widget_set_from_profile (GtkWidget *widget, CdIcc *profile)
cd_color_xyz_free (blue);
}
-/**
- * gcm_cie_widget_init:
- **/
static void
gcm_cie_widget_init (GcmCieWidget *cie)
{
@@ -589,9 +574,6 @@ gcm_cie_widget_init (GcmCieWidget *cie)
pango_font_description_free (desc);
}
-/**
- * gcm_cie_widget_finalize:
- **/
static void
gcm_cie_widget_finalize (GObject *object)
{
@@ -606,11 +588,6 @@ gcm_cie_widget_finalize (GObject *object)
G_OBJECT_CLASS (gcm_cie_widget_parent_class)->finalize (object);
}
-/**
- * gcm_cie_widget_draw_grid:
- *
- * Draw the 10x10 dotted grid onto the cie.
- **/
static void
gcm_cie_widget_draw_grid (GcmCieWidget *cie, cairo_t *cr)
{
@@ -644,9 +621,6 @@ gcm_cie_widget_draw_grid (GcmCieWidget *cie, cairo_t *cr)
cairo_restore (cr);
}
-/**
- * gcm_cie_widget_map_to_display:
- **/
static void
gcm_cie_widget_map_to_display (GcmCieWidget *cie, gdouble x, gdouble y, gdouble *x_retval, gdouble *y_retval)
{
@@ -656,9 +630,6 @@ gcm_cie_widget_map_to_display (GcmCieWidget *cie, gdouble x, gdouble y, gdouble
*y_retval = ((priv->chart_height - 1) - y * (priv->chart_height - 1)) - priv->y_offset;
}
-/**
- * gcm_cie_widget_map_from_display:
- **/
static void
gcm_cie_widget_map_from_display (GcmCieWidget *cie, gdouble x, gdouble y, gdouble *x_retval, gdouble
*y_retval)
{
@@ -668,9 +639,6 @@ gcm_cie_widget_map_from_display (GcmCieWidget *cie, gdouble x, gdouble y, gdoubl
*y_retval = 1.0 - ((gdouble) y + priv->y_offset) / (priv->chart_height - 1);
}
-/**
- * gcm_cie_widget_compute_monochrome_color_location:
- **/
static void
gcm_cie_widget_compute_monochrome_color_location (GcmCieWidget *cie, gdouble wave_length,
gdouble *x_retval, gdouble *y_retval)
@@ -683,9 +651,6 @@ gcm_cie_widget_compute_monochrome_color_location (GcmCieWidget *cie, gdouble wav
gcm_cie_widget_map_to_display (cie, px, py, x_retval, y_retval);
}
-/**
- * gcm_cie_widget_save_point:
- **/
static void
gcm_cie_widget_save_point (GcmCieWidget *cie, const guint y, const gdouble value)
{
@@ -706,9 +671,6 @@ gcm_cie_widget_save_point (GcmCieWidget *cie, const guint y, const gdouble value
}
}
-/**
- * gcm_cie_widget_add_point:
- **/
static void
gcm_cie_widget_add_point (GcmCieWidget *cie, gdouble icx, gdouble icy, gdouble icx_last, gdouble icy_last)
{
@@ -756,9 +718,6 @@ gcm_cie_widget_add_point (GcmCieWidget *cie, gdouble icx, gdouble icy, gdouble i
}
}
-/**
- * gcm_cie_widget_get_min_max_tongue:
- **/
static void
gcm_cie_widget_get_min_max_tongue (GcmCieWidget *cie)
{
@@ -792,9 +751,6 @@ gcm_cie_widget_get_min_max_tongue (GcmCieWidget *cie)
gcm_cie_widget_add_point (cie, icx, icy, icx_last, icy_last);
}
-/**
- * gcm_cie_widget_draw_tongue_outline:
- **/
static void
gcm_cie_widget_draw_tongue_outline (GcmCieWidget *cie, cairo_t *cr)
{
@@ -951,9 +907,6 @@ gcm_cie_widget_gamma_correct (GcmCieWidget *cie, gdouble *c)
}
}
-/**
- * gcm_cie_widget_gamma_correct_rgb:
- **/
static void
gcm_cie_widget_gamma_correct_rgb (GcmCieWidget *cie,
gdouble *r, gdouble *g, gdouble *b)
@@ -963,9 +916,6 @@ gcm_cie_widget_gamma_correct_rgb (GcmCieWidget *cie,
gcm_cie_widget_gamma_correct (cie, b);
}
-/**
- * gcm_cie_widget_draw_gamut_outline:
- **/
static void
gcm_cie_widget_draw_gamut_outline (GcmCieWidget *cie, cairo_t *cr)
{
@@ -999,9 +949,6 @@ out:
cairo_restore (cr);
}
-/**
- * gcm_cie_widget_draw_white_point_cross:
- **/
static void
gcm_cie_widget_draw_white_point_cross (GcmCieWidget *cie, cairo_t *cr)
{
@@ -1054,9 +1001,6 @@ gcm_cie_widget_draw_white_point_cross (GcmCieWidget *cie, cairo_t *cr)
cairo_restore (cr);
}
-/**
- * gcm_cie_widget_draw_line:
- **/
static void
gcm_cie_widget_draw_line (GcmCieWidget *cie, cairo_t *cr)
{
@@ -1126,9 +1070,6 @@ gcm_cie_widget_draw_line (GcmCieWidget *cie, cairo_t *cr)
gcm_cie_widget_draw_gamut_outline (cie, cr);
}
-/**
- * gcm_cie_widget_draw_bounding_box:
- **/
static void
gcm_cie_widget_draw_bounding_box (cairo_t *cr, gint x, gint y, gint width, gint height)
{
@@ -1144,11 +1085,6 @@ gcm_cie_widget_draw_bounding_box (cairo_t *cr, gint x, gint y, gint width, gint
cairo_stroke (cr);
}
-/**
- * gcm_cie_widget_draw_cie:
- *
- * Draw the complete cie, with the box, the grid, the horseshoe and the shading.
- **/
static void
gcm_cie_widget_draw_cie (GtkWidget *cie_widget, cairo_t *cr)
{
@@ -1180,11 +1116,6 @@ gcm_cie_widget_draw_cie (GtkWidget *cie_widget, cairo_t *cr)
cairo_restore (cr);
}
-/**
- * gcm_cie_widget_draw:
- *
- * Just repaint the entire cie widget on expose.
- **/
static gboolean
gcm_cie_widget_draw (GtkWidget *cie, cairo_t *cr)
{
@@ -1192,10 +1123,6 @@ gcm_cie_widget_draw (GtkWidget *cie, cairo_t *cr)
return FALSE;
}
-/**
- * gcm_cie_widget_new:
- * Return value: A new GcmCieWidget object.
- **/
GtkWidget *
gcm_cie_widget_new (void)
{
diff --git a/src/gcm-debug.c b/src/gcm-debug.c
index bcc5c69..fc94f2a 100644
--- a/src/gcm-debug.c
+++ b/src/gcm-debug.c
@@ -29,11 +29,6 @@
static gboolean _verbose = FALSE;
static gboolean _console = FALSE;
-/**
- * gcm_debug_is_verbose:
- *
- * Returns: TRUE if we have debugging enabled
- **/
gboolean
gcm_debug_is_verbose (void)
{
@@ -48,18 +43,12 @@ gcm_debug_is_verbose (void)
}
-/**
- * gcm_debug_ignore_cb:
- **/
static void
gcm_debug_ignore_cb (const gchar *log_domain, GLogLevelFlags log_level,
const gchar *message, gpointer user_data)
{
}
-/**
- * gcm_debug_handler_cb:
- **/
static void
gcm_debug_handler_cb (const gchar *log_domain, GLogLevelFlags log_level,
const gchar *message, gpointer user_data)
@@ -93,9 +82,6 @@ gcm_debug_handler_cb (const gchar *log_domain, GLogLevelFlags log_level,
}
}
-/**
- * gcm_debug_pre_parse_hook:
- */
static gboolean
gcm_debug_pre_parse_hook (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error)
{
@@ -111,9 +97,6 @@ gcm_debug_pre_parse_hook (GOptionContext *context, GOptionGroup *group, gpointer
return TRUE;
}
-/**
- * gcm_debug_setup:
- */
void
gcm_debug_setup (gboolean enabled)
{
@@ -132,9 +115,6 @@ gcm_debug_setup (gboolean enabled)
}
}
-/**
- * gcm_debug_post_parse_hook:
- */
static gboolean
gcm_debug_post_parse_hook (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error)
{
diff --git a/src/gcm-exif.c b/src/gcm-exif.c
index 08d6817..d9af0ea 100644
--- a/src/gcm-exif.c
+++ b/src/gcm-exif.c
@@ -30,11 +30,6 @@
static void gcm_exif_finalize (GObject *object);
-/**
- * GcmExifPrivate:
- *
- * Private #GcmExif data
- **/
typedef struct
{
gchar *manufacturer;
@@ -55,9 +50,6 @@ enum {
G_DEFINE_TYPE_WITH_PRIVATE (GcmExif, gcm_exif, G_TYPE_OBJECT)
#define GET_PRIVATE(o) (gcm_exif_get_instance_private (o))
-/**
- * gcm_exif_parse_tiff:
- **/
static gboolean
gcm_exif_parse_tiff (GcmExif *exif, const gchar *filename, GError **error)
{
@@ -113,9 +105,6 @@ out:
return ret;
}
-/**
- * gcm_exif_parse_jpeg:
- **/
static gboolean
gcm_exif_parse_jpeg (GcmExif *exif, const gchar *filename, GError **error)
{
@@ -190,9 +179,6 @@ out:
}
#ifdef HAVE_EXIV
-/**
- * gcm_exif_parse_exiv:
- **/
static gboolean
gcm_exif_parse_exiv (GcmExif *exif, const gchar *filename, GError **error)
{
@@ -255,9 +241,6 @@ gcm_exif_parse_exiv (GcmExif *exif, const gchar *filename, GError **error)
}
#endif
-/**
- * gcm_exif_parse:
- **/
gboolean
gcm_exif_parse (GcmExif *exif, GFile *file, GError **error)
{
@@ -311,9 +294,6 @@ gcm_exif_parse (GcmExif *exif, GFile *file, GError **error)
return FALSE;
}
-/**
- * gcm_exif_get_manufacturer:
- **/
const gchar *
gcm_exif_get_manufacturer (GcmExif *exif)
{
@@ -321,9 +301,6 @@ gcm_exif_get_manufacturer (GcmExif *exif)
return priv->manufacturer;
}
-/**
- * gcm_exif_get_model:
- **/
const gchar *
gcm_exif_get_model (GcmExif *exif)
{
@@ -331,9 +308,6 @@ gcm_exif_get_model (GcmExif *exif)
return priv->model;
}
-/**
- * gcm_exif_get_serial:
- **/
const gchar *
gcm_exif_get_serial (GcmExif *exif)
{
@@ -341,9 +315,6 @@ gcm_exif_get_serial (GcmExif *exif)
return priv->serial;
}
-/**
- * gcm_exif_get_device_kind:
- **/
CdDeviceKind
gcm_exif_get_device_kind (GcmExif *exif)
{
@@ -351,9 +322,6 @@ gcm_exif_get_device_kind (GcmExif *exif)
return priv->device_kind;
}
-/**
- * gcm_exif_get_property:
- **/
static void
gcm_exif_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
{
@@ -379,9 +347,6 @@ gcm_exif_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec
}
}
-/**
- * gcm_exif_class_init:
- **/
static void
gcm_exif_class_init (GcmExifClass *klass)
{
@@ -423,9 +388,6 @@ gcm_exif_class_init (GcmExifClass *klass)
g_object_class_install_property (object_class, PROP_DEVICE_KIND, pspec);
}
-/**
- * gcm_exif_init:
- **/
static void
gcm_exif_init (GcmExif *exif)
{
@@ -436,9 +398,6 @@ gcm_exif_init (GcmExif *exif)
priv->device_kind = CD_DEVICE_KIND_CAMERA;
}
-/**
- * gcm_exif_finalize:
- **/
static void
gcm_exif_finalize (GObject *object)
{
@@ -452,11 +411,6 @@ gcm_exif_finalize (GObject *object)
G_OBJECT_CLASS (gcm_exif_parent_class)->finalize (object);
}
-/**
- * gcm_exif_new:
- *
- * Return value: a new GcmExif object.
- **/
GcmExif *
gcm_exif_new (void)
{
diff --git a/src/gcm-gamma-widget.c b/src/gcm-gamma-widget.c
index e8054ec..5ab02f8 100644
--- a/src/gcm-gamma-widget.c
+++ b/src/gcm-gamma-widget.c
@@ -55,9 +55,6 @@ enum
PROP_LAST
};
-/**
- * dkp_gamma_get_property:
- **/
static void
dkp_gamma_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
{
@@ -84,9 +81,6 @@ dkp_gamma_get_property (GObject *object, guint prop_id, GValue *value, GParamSpe
}
}
-/**
- * dkp_gamma_set_property:
- **/
static void
dkp_gamma_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
{
@@ -118,9 +112,6 @@ dkp_gamma_set_property (GObject *object, guint prop_id, const GValue *value, GPa
gtk_widget_show (GTK_WIDGET (gama));
}
-/**
- * gcm_gamma_widget_class_init:
- **/
static void
gcm_gamma_widget_class_init (GcmGammaWidgetClass *class)
{
@@ -162,9 +153,6 @@ gcm_gamma_widget_class_init (GcmGammaWidgetClass *class)
G_PARAM_READWRITE));
}
-/**
- * gcm_gamma_widget_init:
- **/
static void
gcm_gamma_widget_init (GcmGammaWidget *gama)
{
@@ -182,9 +170,6 @@ gcm_gamma_widget_init (GcmGammaWidget *gama)
pango_context_set_base_gravity (context, PANGO_GRAVITY_AUTO);
}
-/**
- * gcm_gamma_widget_finalize:
- **/
static void
gcm_gamma_widget_finalize (GObject *object)
{
@@ -192,9 +177,6 @@ gcm_gamma_widget_finalize (GObject *object)
G_OBJECT_CLASS (gcm_gamma_widget_parent_class)->finalize (object);
}
-/**
- * gcm_gamma_widget_draw_lines:
- **/
static void
gcm_gamma_widget_draw_lines (GcmGammaWidget *gama, cairo_t *cr)
{
@@ -226,9 +208,6 @@ gcm_gamma_widget_draw_lines (GcmGammaWidget *gama, cairo_t *cr)
cairo_restore (cr);
}
-/**
- * gcm_gamma_widget_draw_box:
- **/
static void
gcm_gamma_widget_draw_box (GcmGammaWidget *gama, cairo_t *cr)
{
@@ -254,9 +233,6 @@ gcm_gamma_widget_draw_box (GcmGammaWidget *gama, cairo_t *cr)
cairo_restore (cr);
}
-/**
- * gcm_gamma_widget_draw_bounding_box:
- **/
static void
gcm_gamma_widget_draw_bounding_box (cairo_t *cr, gint x, gint y, gint width, gint height)
{
@@ -272,11 +248,6 @@ gcm_gamma_widget_draw_bounding_box (cairo_t *cr, gint x, gint y, gint width, gin
cairo_stroke (cr);
}
-/**
- * gcm_gamma_widget_draw:
- *
- * Just repaint the entire gamma widget on expose.
- **/
static gboolean
gcm_gamma_widget_draw (GtkWidget *gamma_widget, cairo_t *cr)
{
@@ -302,10 +273,6 @@ gcm_gamma_widget_draw (GtkWidget *gamma_widget, cairo_t *cr)
return FALSE;
}
-/**
- * gcm_gamma_widget_new:
- * Return value: A new GcmGammaWidget object.
- **/
GtkWidget *
gcm_gamma_widget_new (void)
{
diff --git a/src/gcm-import.c b/src/gcm-import.c
index 8708057..1cc1b9a 100644
--- a/src/gcm-import.c
+++ b/src/gcm-import.c
@@ -32,9 +32,6 @@
#include "gcm-utils.h"
#include "gcm-debug.h"
-/**
- * gcm_import_show_details:
- **/
static gboolean
gcm_import_show_details (GtkWindow *window,
gboolean is_profile_id,
@@ -68,9 +65,6 @@ gcm_import_show_details (GtkWindow *window,
return ret;
}
-/**
- * main:
- **/
int
main (int argc, char **argv)
{
diff --git a/src/gcm-inspect.c b/src/gcm-inspect.c
index 06d5b43..52db54a 100644
--- a/src/gcm-inspect.c
+++ b/src/gcm-inspect.c
@@ -29,9 +29,6 @@
#include "gcm-utils.h"
#include "gcm-debug.h"
-/**
- * gcm_inspect_print_data_info:
- **/
static gboolean
gcm_inspect_print_data_info (const gchar *title, const guint8 *data, gsize length)
{
@@ -156,9 +153,6 @@ out:
return ret;
}
-/**
- * gcm_inspect_show_x11_atoms:
- **/
static gboolean
gcm_inspect_show_x11_atoms (void)
{
@@ -199,9 +193,6 @@ gcm_inspect_show_x11_atoms (void)
return ret;
}
-/**
- * gcm_inspect_show_profiles_for_file:
- **/
static gboolean
gcm_inspect_show_profiles_for_file (const gchar *filename)
{
@@ -268,9 +259,6 @@ out:
return ret;
}
-/**
- * gcm_inspect_show_profile_for_window:
- **/
static gboolean
gcm_inspect_show_profile_for_window (guint xid)
{
@@ -326,9 +314,6 @@ gcm_inspect_show_profile_for_window (guint xid)
return TRUE;
}
-/**
- * main:
- **/
int
main (int argc, char **argv)
{
diff --git a/src/gcm-picker.c b/src/gcm-picker.c
index fe9fc84..c4e2ced 100644
--- a/src/gcm-picker.c
+++ b/src/gcm-picker.c
@@ -55,9 +55,6 @@ enum {
GCM_PREFS_COMBO_COLUMN_LAST
};
-/**
- * gcm_picker_set_pixbuf_color:
- **/
static void
gcm_picker_set_pixbuf_color (GdkPixbuf *pixbuf, gchar red, gchar green, gchar blue)
{
@@ -82,9 +79,6 @@ gcm_picker_set_pixbuf_color (GdkPixbuf *pixbuf, gchar red, gchar green, gchar bl
}
}
-/**
- * gcm_picker_refresh_results:
- **/
static void
gcm_picker_refresh_results (GcmPickerPrivate *priv)
{
@@ -234,9 +228,6 @@ gcm_picker_refresh_results (GcmPickerPrivate *priv)
gtk_image_set_from_pixbuf (image, pixbuf);
}
-/**
- * gcm_picker_got_results:
- **/
static void
gcm_picker_got_results (GcmPickerPrivate *priv)
{
@@ -251,9 +242,6 @@ gcm_picker_got_results (GcmPickerPrivate *priv)
priv->done_measure = TRUE;
}
-/**
- * gcm_picker_unlock_timeout_cb:
- **/
static gboolean
gcm_picker_unlock_timeout_cb (gpointer user_data)
{
@@ -267,9 +255,6 @@ gcm_picker_unlock_timeout_cb (gpointer user_data)
return FALSE;
}
-/**
- * gcm_picker_measure_cb:
- **/
static void
gcm_picker_measure_cb (GtkWidget *widget, gpointer data)
{
@@ -329,9 +314,6 @@ out_unlock:
gcm_picker_got_results (priv);
}
-/**
- * gcm_picker_sensor_client_setup_ui:
- **/
static void
gcm_picker_sensor_client_setup_ui (GcmPickerPrivate *priv)
{
@@ -389,9 +371,6 @@ out:
gtk_widget_set_visible (priv->info_bar_hardware, !ret);
}
-/**
- * gcm_picker_sensor_client_changed_cb:
- **/
static void
gcm_picker_sensor_client_changed_cb (CdClient *_client,
CdSensor *_sensor,
@@ -400,9 +379,6 @@ gcm_picker_sensor_client_changed_cb (CdClient *_client,
gcm_picker_sensor_client_setup_ui (priv);
}
-/**
- * gcm_window_set_parent_xid:
- **/
static void
gcm_window_set_parent_xid (GtkWindow *window, guint32 _xid)
{
@@ -419,18 +395,12 @@ gcm_window_set_parent_xid (GtkWindow *window, guint32 _xid)
gdk_window_set_transient_for (our_window, parent_window);
}
-/**
- * gcm_picker_error_cb:
- **/
static void
gcm_picker_error_cb (cmsContext ContextID, cmsUInt32Number errorcode, const char *text)
{
g_warning ("LCMS error %i: %s", errorcode, text);
}
-/**
- * gcm_prefs_space_combo_changed_cb:
- **/
static void
gcm_prefs_space_combo_changed_cb (GtkWidget *widget, GcmPickerPrivate *priv)
{
@@ -456,9 +426,6 @@ gcm_prefs_space_combo_changed_cb (GtkWidget *widget, GcmPickerPrivate *priv)
gcm_picker_refresh_results (priv);
}
-/**
- * gcm_prefs_set_combo_simple_text:
- **/
static void
gcm_prefs_set_combo_simple_text (GtkWidget *combo_box)
{
@@ -482,9 +449,6 @@ gcm_prefs_set_combo_simple_text (GtkWidget *combo_box)
NULL);
}
-/**
- * gcm_prefs_combobox_add_profile:
- **/
static void
gcm_prefs_combobox_add_profile (GtkWidget *widget, CdProfile *profile, GtkTreeIter *iter)
{
@@ -506,9 +470,6 @@ gcm_prefs_combobox_add_profile (GtkWidget *widget, CdProfile *profile, GtkTreeIt
-1);
}
-/**
- * gcm_prefs_setup_space_combobox:
- **/
static void
gcm_prefs_setup_space_combobox (GcmPickerPrivate *priv, GtkWidget *widget)
{
@@ -625,9 +586,6 @@ gcm_prefs_setup_space_combobox (GcmPickerPrivate *priv, GtkWidget *widget)
}
}
-/**
- * gcm_picker_activate_cb:
- **/
static void
gcm_picker_activate_cb (GApplication *application, GcmPickerPrivate *priv)
{
@@ -636,9 +594,6 @@ gcm_picker_activate_cb (GApplication *application, GcmPickerPrivate *priv)
gtk_window_present (window);
}
-/**
- * gcm_picker_startup_cb:
- **/
static void
gcm_picker_startup_cb (GApplication *application, GcmPickerPrivate *priv)
{
@@ -725,9 +680,6 @@ gcm_picker_startup_cb (GApplication *application, GcmPickerPrivate *priv)
gtk_widget_show (main_window);
}
-/**
- * main:
- **/
int
main (int argc, char *argv[])
{
diff --git a/src/gcm-print.c b/src/gcm-print.c
index 4c32efd..dbc34d0 100644
--- a/src/gcm-print.c
+++ b/src/gcm-print.c
@@ -30,11 +30,6 @@ static void gcm_print_finalize (GObject *object);
#define GCM_PRINT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GCM_TYPE_PRINT, GcmPrintPrivate))
-/**
- * GcmPrintPrivate:
- *
- * Private #GcmPrint data
- **/
struct _GcmPrintPrivate
{
GtkPrintSettings *settings;
@@ -60,9 +55,6 @@ typedef struct {
GError *error;
} GcmPrintTask;
-/**
- * gcm_print_class_init:
- **/
static void
gcm_print_class_init (GcmPrintClass *klass)
{
@@ -110,11 +102,6 @@ out:
return;
}
-/**
- * gcm_print_draw_page_cb:
- *
- * Emitted for every page that is printed. The signal handler must render the page onto the cairo context
- **/
static void
gcm_print_draw_page_cb (GtkPrintOperation *operation, GtkPrintContext *context, gint page_nr, GcmPrintTask
*task)
{
@@ -155,9 +142,6 @@ out:
cairo_surface_destroy (surface);
}
-/**
- * gcm_print_loop_quit_idle_cb:
- **/
static gboolean
gcm_print_loop_quit_idle_cb (GcmPrintTask *task)
{
@@ -165,9 +149,6 @@ gcm_print_loop_quit_idle_cb (GcmPrintTask *task)
return FALSE;
}
-/**
- * gcm_print_status_changed_cb:
- **/
static void
gcm_print_status_changed_cb (GtkPrintOperation *operation, GcmPrintTask *task)
{
@@ -194,18 +175,12 @@ gcm_print_status_changed_cb (GtkPrintOperation *operation, GcmPrintTask *task)
}
}
-/**
- * gcm_print_done_cb:
- **/
static void
gcm_print_done_cb (GtkPrintOperation *operation, GtkPrintOperationResult result, GcmPrintTask *task)
{
g_debug ("we're done rendering...");
}
-/**
- * gcm_print_with_render_callback:
- **/
gboolean
gcm_print_with_render_callback (GcmPrint *print, GtkWindow *window, GcmPrintRenderCb render_callback,
gpointer user_data, GError **error)
{
@@ -283,9 +258,6 @@ out:
return ret;
}
-/**
- * gcm_print_init:
- **/
static void
gcm_print_init (GcmPrint *print)
{
@@ -293,9 +265,6 @@ gcm_print_init (GcmPrint *print)
print->priv->settings = gtk_print_settings_new ();
}
-/**
- * gcm_print_finalize:
- **/
static void
gcm_print_finalize (GObject *object)
{
@@ -307,11 +276,6 @@ gcm_print_finalize (GObject *object)
G_OBJECT_CLASS (gcm_print_parent_class)->finalize (object);
}
-/**
- * gcm_print_new:
- *
- * Return value: a new GcmPrint object.
- **/
GcmPrint *
gcm_print_new (void)
{
diff --git a/src/gcm-trc-widget.c b/src/gcm-trc-widget.c
index 1b6954b..12def7e 100644
--- a/src/gcm-trc-widget.c
+++ b/src/gcm-trc-widget.c
@@ -54,9 +54,6 @@ enum
PROP_LAST
};
-/**
- * gcm_trc_widget_get_property:
- **/
static void
gcm_trc_widget_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
{
@@ -71,9 +68,6 @@ gcm_trc_widget_get_property (GObject *object, guint prop_id, GValue *value, GPar
}
}
-/**
- * gcm_trc_widget_set_property:
- **/
static void
gcm_trc_widget_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
{
@@ -98,9 +92,6 @@ gcm_trc_widget_set_property (GObject *object, guint prop_id, const GValue *value
gtk_widget_show (GTK_WIDGET (trc));
}
-/**
- * gcm_trc_widget_class_init:
- **/
static void
gcm_trc_widget_class_init (GcmTrcWidgetClass *class)
{
@@ -127,9 +118,6 @@ gcm_trc_widget_class_init (GcmTrcWidgetClass *class)
G_PARAM_WRITABLE));
}
-/**
- * gcm_trc_widget_init:
- **/
static void
gcm_trc_widget_init (GcmTrcWidget *trc)
{
@@ -150,9 +138,6 @@ gcm_trc_widget_init (GcmTrcWidget *trc)
pango_font_description_free (desc);
}
-/**
- * gcm_trc_widget_finalize:
- **/
static void
gcm_trc_widget_finalize (GObject *object)
{
@@ -164,11 +149,6 @@ gcm_trc_widget_finalize (GObject *object)
G_OBJECT_CLASS (gcm_trc_widget_parent_class)->finalize (object);
}
-/**
- * gcm_trc_widget_draw_grid:
- *
- * Draw the 10x10 dotted grid onto the trc.
- **/
static void
gcm_trc_widget_draw_grid (GcmTrcWidget *trc, cairo_t *cr)
{
@@ -202,9 +182,6 @@ gcm_trc_widget_draw_grid (GcmTrcWidget *trc, cairo_t *cr)
cairo_restore (cr);
}
-/**
- * gcm_trc_widget_map_to_display:
- **/
static void
gcm_trc_widget_map_to_display (GcmTrcWidget *trc, gdouble x, gdouble y, gdouble *x_retval, gdouble *y_retval)
{
@@ -214,9 +191,6 @@ gcm_trc_widget_map_to_display (GcmTrcWidget *trc, gdouble x, gdouble y, gdouble
*y_retval = ((priv->chart_height - 1) - y * (priv->chart_height - 1)) - priv->y_offset;
}
-/**
- * gcm_trc_widget_draw_line:
- **/
static void
gcm_trc_widget_draw_line (GcmTrcWidget *trc, cairo_t *cr)
{
@@ -292,9 +266,6 @@ gcm_trc_widget_draw_line (GcmTrcWidget *trc, cairo_t *cr)
cairo_restore (cr);
}
-/**
- * gcm_trc_widget_draw_bounding_box:
- **/
static void
gcm_trc_widget_draw_bounding_box (cairo_t *cr, gint x, gint y, gint width, gint height)
{
@@ -310,11 +281,6 @@ gcm_trc_widget_draw_bounding_box (cairo_t *cr, gint x, gint y, gint width, gint
cairo_stroke (cr);
}
-/**
- * gcm_trc_widget_draw_trc:
- *
- * Draw the complete trc, with the box, the grid, the horseshoe and the shading.
- **/
static void
gcm_trc_widget_draw_trc (GtkWidget *trc_widget, cairo_t *cr)
{
@@ -343,11 +309,6 @@ gcm_trc_widget_draw_trc (GtkWidget *trc_widget, cairo_t *cr)
cairo_restore (cr);
}
-/**
- * gcm_trc_widget_draw:
- *
- * Just repaint the entire trc widget on expose.
- **/
static gboolean
gcm_trc_widget_draw (GtkWidget *trc, cairo_t *cr)
{
@@ -355,10 +316,6 @@ gcm_trc_widget_draw (GtkWidget *trc, cairo_t *cr)
return FALSE;
}
-/**
- * gcm_trc_widget_new:
- * Return value: A new GcmTrcWidget object.
- **/
GtkWidget *
gcm_trc_widget_new (void)
{
diff --git a/src/gcm-utils.c b/src/gcm-utils.c
index d6b3db3..43b07af 100644
--- a/src/gcm-utils.c
+++ b/src/gcm-utils.c
@@ -34,9 +34,6 @@
#define PK_DBUS_INTERFACE_QUERY "org.freedesktop.PackageKit.Query"
#define PK_DBUS_INTERFACE_MODIFY "org.freedesktop.PackageKit.Modify"
-/**
- * gcm_utils_linkify:
- **/
gchar *
gcm_utils_linkify (const gchar *hostile_text)
{
@@ -81,9 +78,6 @@ gcm_utils_linkify (const gchar *hostile_text)
return g_string_free (string, FALSE);
}
-/**
- * gcm_utils_install_package:
- **/
gboolean
gcm_utils_install_package (const gchar *package_name, GtkWindow *window)
{
@@ -180,9 +174,6 @@ gcm_utils_output_is_lcd (const gchar *output_name)
return FALSE;
}
-/**
- * gcm_utils_get_profile_destination:
- **/
GFile *
gcm_utils_get_profile_destination (GFile *file)
{
@@ -225,10 +216,6 @@ gcm_utils_ptr_array_to_strv (GPtrArray *array)
return value;
}
-/**
- * gcm_gnome_help:
- * @link_id: Subsection of help file, or %NULL.
- **/
gboolean
gcm_gnome_help (const gchar *link_id)
{
@@ -254,9 +241,6 @@ gcm_gnome_help (const gchar *link_id)
return TRUE;
}
-/**
- * gcm_utils_alphanum_lcase:
- **/
void
gcm_utils_alphanum_lcase (gchar *data)
{
@@ -272,9 +256,6 @@ gcm_utils_alphanum_lcase (gchar *data)
}
}
-/**
- * gcm_utils_ensure_sensible_filename:
- **/
void
gcm_utils_ensure_sensible_filename (gchar *data)
{
@@ -296,9 +277,6 @@ gcm_utils_ensure_sensible_filename (gchar *data)
}
}
-/**
- * cd_colorspace_to_localised_string:
- **/
const gchar *
cd_colorspace_to_localised_string (CdColorspace colorspace)
{
@@ -317,9 +295,6 @@ cd_colorspace_to_localised_string (CdColorspace colorspace)
return NULL;
}
-/**
- * gcm_utils_get_pixel_format:
- **/
static CdPixelFormat
gcm_utils_get_pixel_format (GdkPixbuf *pixbuf)
{
@@ -342,9 +317,6 @@ out:
return format;
}
-/**
- * gcm_utils_image_convert:
- **/
gboolean
gcm_utils_image_convert (GtkImage *image,
CdIcc *input,
diff --git a/src/gcm-viewer.c b/src/gcm-viewer.c
index 49602cf..70282de 100644
--- a/src/gcm-viewer.c
+++ b/src/gcm-viewer.c
@@ -90,9 +90,6 @@ enum {
#define GCM_VIEWER_TREEVIEW_WIDTH 350 /* px */
#define GCM_VIEWER_MAX_EXAMPLE_IMAGES 4
-/**
- * gcm_viewer_error_dialog:
- **/
static void
gcm_viewer_error_dialog (GcmViewerPrivate *viewer, const gchar *title, const gchar *message)
{
@@ -107,9 +104,6 @@ gcm_viewer_error_dialog (GcmViewerPrivate *viewer, const gchar *title, const gch
gtk_widget_destroy (dialog);
}
-/**
- * gcm_viewer_set_example_image:
- **/
static void
gcm_viewer_set_example_image (GcmViewerPrivate *viewer, GtkImage *image)
{
@@ -128,9 +122,6 @@ gcm_viewer_set_example_image (GcmViewerPrivate *viewer, GtkImage *image)
gtk_image_set_from_pixbuf (image, pixbuf);
}
-/**
- * gcm_viewer_image_next_cb:
- **/
static void
gcm_viewer_image_next_cb (GtkWidget *widget, GcmViewerPrivate *viewer)
{
@@ -141,9 +132,6 @@ gcm_viewer_image_next_cb (GtkWidget *widget, GcmViewerPrivate *viewer)
gcm_viewer_set_example_image (viewer, GTK_IMAGE (viewer->preview_widget_output));
}
-/**
- * gcm_viewer_image_prev_cb:
- **/
static void
gcm_viewer_image_prev_cb (GtkWidget *widget, GcmViewerPrivate *viewer)
{
@@ -154,9 +142,6 @@ gcm_viewer_image_prev_cb (GtkWidget *widget, GcmViewerPrivate *viewer)
gcm_viewer_set_example_image (viewer, GTK_IMAGE (viewer->preview_widget_output));
}
-/**
- * gcm_viewer_profile_kind_to_icon_name:
- **/
static const gchar *
gcm_viewer_profile_kind_to_icon_name (CdProfileKind kind)
{
@@ -175,9 +160,6 @@ gcm_viewer_profile_kind_to_icon_name (CdProfileKind kind)
return "image-missing";
}
-/**
- * gcm_viewer_profile_get_sort_string:
- **/
static const gchar *
gcm_viewer_profile_get_sort_string (CdProfile *profile)
{
@@ -217,9 +199,6 @@ gcm_viewer_profile_get_sort_string (CdProfile *profile)
return sort;
}
-/**
- * gcm_viewer_update_profile_connect_cb:
- **/
static void
gcm_viewer_update_profile_connect_cb (GObject *source_object,
GAsyncResult *res,
@@ -277,9 +256,6 @@ gcm_viewer_update_profile_connect_cb (GObject *source_object,
}
}
-/**
- * gcm_viewer_update_get_profiles_cb:
- **/
static void
gcm_viewer_update_get_profiles_cb (GObject *source_object,
GAsyncResult *res,
@@ -317,9 +293,6 @@ gcm_viewer_update_get_profiles_cb (GObject *source_object,
}
}
-/**
- * gcm_viewer_update_profile_list:
- **/
static void
gcm_viewer_update_profile_list (GcmViewerPrivate *viewer)
{
@@ -332,9 +305,6 @@ gcm_viewer_update_profile_list (GcmViewerPrivate *viewer)
viewer);
}
-/**
- * gcm_viewer_profile_delete_cb:
- **/
static void
gcm_viewer_profile_delete_cb (GtkWidget *widget, GcmViewerPrivate *viewer)
{
@@ -387,9 +357,6 @@ gcm_viewer_profile_delete_cb (GtkWidget *widget, GcmViewerPrivate *viewer)
}
}
-/**
- * gcm_viewer_file_chooser_get_icc_profile:
- **/
static GFile *
gcm_viewer_file_chooser_get_icc_profile (GcmViewerPrivate *viewer)
{
@@ -443,9 +410,6 @@ gcm_viewer_file_chooser_get_icc_profile (GcmViewerPrivate *viewer)
return file;
}
-/**
- * gcm_viewer_profile_import_file:
- **/
static gboolean
gcm_viewer_profile_import_file (GcmViewerPrivate *viewer, GFile *file)
{
@@ -465,9 +429,6 @@ gcm_viewer_profile_import_file (GcmViewerPrivate *viewer, GFile *file)
return TRUE;
}
-/**
- * gcm_viewer_profile_import_cb:
- **/
static void
gcm_viewer_profile_import_cb (GtkWidget *widget, GcmViewerPrivate *viewer)
{
@@ -484,9 +445,6 @@ gcm_viewer_profile_import_cb (GtkWidget *widget, GcmViewerPrivate *viewer)
gcm_viewer_profile_import_file (viewer, file);
}
-/**
- * gcm_viewer_drag_data_received_cb:
- **/
static void
gcm_viewer_drag_data_received_cb (GtkWidget *widget, GdkDragContext *context, gint x, gint y,
GtkSelectionData *data, guint _time, GcmViewerPrivate *viewer)
{
@@ -529,9 +487,6 @@ out:
g_strfreev (filenames);
}
-/**
- * gcm_window_set_parent_xid:
- **/
static void
gcm_window_set_parent_xid (GtkWindow *window, guint32 xid)
{
@@ -559,9 +514,6 @@ gcm_window_set_parent_xid (GtkWindow *window, guint32 xid)
gtk_window_set_title (window, "");
}
-/**
- * gcm_viewer_add_profiles_columns:
- **/
static void
gcm_viewer_add_profiles_columns (GcmViewerPrivate *viewer, GtkTreeView *treeview)
{
@@ -595,9 +547,6 @@ gcm_viewer_add_profiles_columns (GcmViewerPrivate *viewer, GtkTreeView *treeview
gtk_tree_view_column_set_expand (column, TRUE);
}
-/**
- * gcm_viewer_profile_kind_to_string:
- **/
static gchar *
gcm_viewer_profile_kind_to_string (CdProfileKind kind)
{
@@ -633,9 +582,6 @@ gcm_viewer_profile_kind_to_string (CdProfileKind kind)
return _("Unknown");
}
-/**
- * gcm_viewer_profile_colorspace_to_string:
- **/
static gchar *
gcm_viewer_profile_colorspace_to_string (CdColorspace colorspace)
{
@@ -683,9 +629,6 @@ gcm_viewer_profile_colorspace_to_string (CdColorspace colorspace)
return _("Unknown");
}
-/**
- * gcm_viewer_add_named_colors:
- **/
static gboolean
gcm_viewer_add_named_colors (GcmViewerPrivate *viewer, CdIcc *icc)
{
@@ -803,9 +746,6 @@ gcm_viewer_is_blacklisted_metadata_key (const gchar *key)
return TRUE;
}
-/**
- * gcm_viewer_add_metadata:
- **/
static gboolean
gcm_viewer_add_metadata (GcmViewerPrivate *viewer,
CdProfile *profile)
@@ -852,9 +792,6 @@ gcm_viewer_add_metadata (GcmViewerPrivate *viewer,
return TRUE;
}
-/**
- * cd_icc_warning_to_string:
- **/
static const gchar *
cd_icc_warning_to_string (CdProfileWarning kind_enum)
{
@@ -912,9 +849,6 @@ cd_icc_warning_to_string (CdProfileWarning kind_enum)
return kind;
}
-/**
- * gcm_viewer_set_profile:
- **/
static void
gcm_viewer_set_profile (GcmViewerPrivate *viewer, CdProfile *profile)
{
@@ -1203,9 +1137,6 @@ gcm_viewer_set_profile (GcmViewerPrivate *viewer, CdProfile *profile)
gtk_widget_set_visible (widget, show_section_from);
}
-/**
- * gcm_viewer_profiles_treeview_clicked_cb:
- **/
static void
gcm_viewer_profiles_treeview_clicked_cb (GtkTreeSelection *selection,
GcmViewerPrivate *viewer)
@@ -1232,9 +1163,6 @@ gcm_viewer_profiles_treeview_clicked_cb (GtkTreeSelection *selection,
g_object_unref (profile);
}
-/**
- * gcm_viewer_client_profile_added_cb:
- **/
static void
gcm_viewer_client_profile_added_cb (CdClient *client,
CdProfile *profile,
@@ -1245,9 +1173,6 @@ gcm_viewer_client_profile_added_cb (CdClient *client,
gcm_viewer_update_profile_list (viewer);
}
-/**
- * gcm_viewer_client_profile_removed_cb:
- **/
static void
gcm_viewer_client_profile_removed_cb (CdClient *client,
CdProfile *profile,
@@ -1258,9 +1183,6 @@ gcm_viewer_client_profile_removed_cb (CdClient *client,
gcm_viewer_update_profile_list (viewer);
}
-/**
- * gcm_viewer_setup_drag_and_drop:
- **/
static void
gcm_viewer_setup_drag_and_drop (GtkWidget *widget)
{
@@ -1275,9 +1197,6 @@ gcm_viewer_setup_drag_and_drop (GtkWidget *widget)
g_free (entry.target);
}
-/**
- * gcm_viewer_activate_cb:
- **/
static void
gcm_viewer_activate_cb (GApplication *application, GcmViewerPrivate *viewer)
{
@@ -1347,18 +1266,12 @@ gcm_viewer_add_metadata_columns (GcmViewerPrivate *viewer,
gtk_tree_view_column_set_expand (column, TRUE);
}
-/**
- * gcm_viewer_named_color_treeview_clicked:
- **/
static void
gcm_viewer_named_color_treeview_clicked (GtkTreeSelection *selection, GcmViewerPrivate *viewer)
{
g_debug ("named color changed");
}
-/**
- * gcm_viewer_show_single_profile_by_filename:
- **/
static void
gcm_viewer_show_single_profile_by_filename (GcmViewerPrivate *viewer,
const gchar *filename)
@@ -1419,9 +1332,6 @@ gcm_viewer_show_single_profile_by_filename (GcmViewerPrivate *viewer,
gcm_viewer_set_profile (viewer, profile);
}
-/**
- * gcm_viewer_show_single_profile_by_id:
- **/
static void
gcm_viewer_show_single_profile_by_id (GcmViewerPrivate *viewer,
const gchar *id)
@@ -1443,9 +1353,6 @@ gcm_viewer_show_single_profile_by_id (GcmViewerPrivate *viewer,
gcm_viewer_set_profile (viewer, profile);
}
-/**
- * gcm_viewer_startup_cb:
- **/
static void
gcm_viewer_startup_cb (GApplication *application, GcmViewerPrivate *viewer)
{
@@ -1693,9 +1600,6 @@ gcm_viewer_startup_cb (GApplication *application, GcmViewerPrivate *viewer)
gcm_viewer_update_profile_list (viewer);
}
-/**
- * main:
- **/
int
main (int argc, char **argv)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]