[gnome-color-manager] Remove all the rendering intent and default properties from the session DBus interface
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Remove all the rendering intent and default properties from the session DBus interface
- Date: Tue, 17 May 2011 19:14:39 +0000 (UTC)
commit 7ad0257b6d721707cd5aa76a568b872322729e64
Author: Richard Hughes <richard hughsie com>
Date: Tue May 10 14:52:11 2011 -0400
Remove all the rendering intent and default properties from the session DBus interface
src/gcm-session.c | 28 +---------------
src/org.gnome.ColorManager.xml | 69 ----------------------------------------
2 files changed, 1 insertions(+), 96 deletions(-)
---
diff --git a/src/gcm-session.c b/src/gcm-session.c
index c424bc2..8fcb8ee 100644
--- a/src/gcm-session.c
+++ b/src/gcm-session.c
@@ -1084,32 +1084,6 @@ out:
}
/**
- * gcm_session_handle_get_property:
- **/
-static GVariant *
-gcm_session_handle_get_property (GDBusConnection *connection_, const gchar *sender,
- const gchar *object_path, const gchar *interface_name,
- const gchar *property_name, GError **error,
- gpointer user_data)
-{
- GVariant *retval = NULL;
- GcmSessionPrivate *priv = (GcmSessionPrivate *) user_data;
-
- if (g_strcmp0 (property_name, "RenderingIntentDisplay") == 0) {
- retval = g_settings_get_value (priv->settings, GCM_SETTINGS_RENDERING_INTENT_DISPLAY);
- } else if (g_strcmp0 (property_name, "RenderingIntentSoftproof") == 0) {
- retval = g_settings_get_value (priv->settings, GCM_SETTINGS_RENDERING_INTENT_SOFTPROOF);
- } else if (g_strcmp0 (property_name, "ColorspaceRgb") == 0) {
- retval = g_settings_get_value (priv->settings, GCM_SETTINGS_COLORSPACE_RGB);
- } else if (g_strcmp0 (property_name, "ColorspaceCmyk") == 0) {
- retval = g_settings_get_value (priv->settings, GCM_SETTINGS_COLORSPACE_CMYK);
- } else if (g_strcmp0 (property_name, "ColorspaceGray") == 0) {
- retval = g_settings_get_value (priv->settings, GCM_SETTINGS_COLORSPACE_GRAY);
- }
- return retval;
-}
-
-/**
* gcm_session_on_bus_acquired:
**/
static void
@@ -1121,7 +1095,7 @@ gcm_session_on_bus_acquired (GDBusConnection *connection,
GcmSessionPrivate *priv = (GcmSessionPrivate *) user_data;
static const GDBusInterfaceVTable interface_vtable = {
gcm_session_handle_method_call,
- gcm_session_handle_get_property,
+ NULL,
NULL
};
diff --git a/src/org.gnome.ColorManager.xml b/src/org.gnome.ColorManager.xml
index db74a7f..606996a 100644
--- a/src/org.gnome.ColorManager.xml
+++ b/src/org.gnome.ColorManager.xml
@@ -12,75 +12,6 @@
</doc:doc>
<!--*****************************************************************************************-->
- <property name='RenderingIntentDisplay' type='i' access='read'>
- <doc:doc>
- <doc:description>
- <doc:para>
- The rendering intent for the display.
- </doc:para>
- <doc:list>
- <doc:item>
- <doc:term>perceptual</doc:term><doc:definition>Perceptual</doc:definition>
- </doc:item>
- <doc:item>
- <doc:term>relative-colorimetric</doc:term><doc:definition>Relative colorimetric</doc:definition>
- </doc:item>
- <doc:item>
- <doc:term>saturation</doc:term><doc:definition>Saturation</doc:definition>
- </doc:item>
- <doc:item>
- <doc:term>absolute-colorimetric</doc:term><doc:definition>Absolute colorimetric</doc:definition>
- </doc:item>
- </doc:list>
- </doc:description>
- </doc:doc>
- </property>
-
- <!--*****************************************************************************************-->
- <property name='RenderingIntentSoftproof' type='i' access='read'>
- <doc:doc>
- <doc:description>
- <doc:para>
- The rendering intent for softproofing.
- </doc:para>
- </doc:description>
- </doc:doc>
- </property>
-
- <!--*****************************************************************************************-->
- <property name='ColorspaceRgb' type='s' access='read'>
- <doc:doc>
- <doc:description>
- <doc:para>
- The default colorspace filename for RGB files.
- </doc:para>
- </doc:description>
- </doc:doc>
- </property>
-
- <!--*****************************************************************************************-->
- <property name='ColorspaceCmyk' type='s' access='read'>
- <doc:doc>
- <doc:description>
- <doc:para>
- The default colorspace filename for CMYK files.
- </doc:para>
- </doc:description>
- </doc:doc>
- </property>
-
- <!--*****************************************************************************************-->
- <property name='ColorspaceGray' type='s' access='read'>
- <doc:doc>
- <doc:description>
- <doc:para>
- The default colorspace filename for gray files.
- </doc:para>
- </doc:description>
- </doc:doc>
- </property>
-
- <!--*****************************************************************************************-->
<method name='GetProfilesForDevice'>
<annotation name='org.freedesktop.DBus.GLib.Async' value=''/>
<doc:doc>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]