[gnome-color-manager] trivial: remove the unused manual calibration capability
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: remove the unused manual calibration capability
- Date: Thu, 26 May 2011 09:43:05 +0000 (UTC)
commit 256db3f945019a8a73cf7ee8fe2a9d9c3d90a319
Author: Richard Hughes <richard hughsie com>
Date: Thu May 26 10:04:41 2011 +0100
trivial: remove the unused manual calibration capability
src/Makefile.am | 2 -
src/gcm-calibrate-manual.c | 693 --------------------------------------------
src/gcm-calibrate-manual.h | 66 -----
src/gcm-self-test.c | 25 --
4 files changed, 0 insertions(+), 786 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 5da646e..070ba9a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -93,8 +93,6 @@ gcm_prefs_SOURCES = \
gcm-calibrate-dialog.c \
gcm-calibrate-dialog.h \
gcm-calibrate.h \
- gcm-calibrate-manual.c \
- gcm-calibrate-manual.h \
gcm-calibrate-native.c \
gcm-calibrate-native.h \
gcm-cell-renderer-profile-text.c \
diff --git a/src/gcm-self-test.c b/src/gcm-self-test.c
index 97cf29f..ac53895 100644
--- a/src/gcm-self-test.c
+++ b/src/gcm-self-test.c
@@ -29,7 +29,6 @@
#include "gcm-brightness.h"
#include "gcm-calibrate-dialog.h"
#include "gcm-calibrate.h"
-#include "gcm-calibrate-manual.h"
#include "gcm-calibrate-native.h"
#include "gcm-cie-widget.h"
#include "gcm-clut.h"
@@ -764,29 +763,6 @@ gcm_test_calibrate_native_func (void)
}
static void
-gcm_test_calibrate_manual_func (void)
-{
- GcmCalibrate *calibrate;
- gboolean ret;
- GError *error = NULL;
-
- calibrate = gcm_calibrate_manual_new ();
- g_assert (calibrate != NULL);
-
- /* set to avoid a critical warning */
- g_object_set (calibrate,
- "output-name", "lvds1",
- NULL);
-
- /* calibrate display manually */
- ret = gcm_calibrate_display (calibrate, NULL, &error);
- g_assert_no_error (error);
- g_assert (ret);
-
- g_object_unref (calibrate);
-}
-
-static void
gcm_test_cie_widget_func (void)
{
GtkWidget *widget;
@@ -1155,7 +1131,6 @@ main (int argc, char **argv)
}
if (g_test_slow ()) {
g_test_add_func ("/color/print", gcm_test_print_func);
- g_test_add_func ("/color/calibrate_manual", gcm_test_calibrate_manual_func);
}
return g_test_run ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]