Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: gconf/config.c

Issue 2860022: Add api to ibus for retreiving unused config values. (Closed) Base URL: ssh://gitrw.chromium.org/ibus.git
Patch Set: Code review changes Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ibus/config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gconf/config.c
diff --git a/gconf/config.c b/gconf/config.c
index b3662fe80cb9759f42372cf0b63ce9f9f57988bb..29d9750b8a42d7b997f39bb0406b8d9ede24ee69 100644
--- a/gconf/config.c
+++ b/gconf/config.c
@@ -24,6 +24,10 @@ static gboolean ibus_config_gconf_unset (IBusConfigService *config,
const gchar *section,
const gchar *name,
IBusError **error);
+static gboolean ibus_config_gconf_get_unused (IBusConfigService *config,
+ GValue *unread,
+ GValue *unwritten,
+ IBusError **error);
static GConfValue *_to_gconf_value (const GValue *value);
static void _from_gconf_value (GValue *value,
@@ -69,6 +73,7 @@ ibus_config_gconf_class_init (IBusConfigGConfClass *klass)
IBUS_CONFIG_SERVICE_CLASS (object_class)->set_value = ibus_config_gconf_set_value;
IBUS_CONFIG_SERVICE_CLASS (object_class)->get_value = ibus_config_gconf_get_value;
IBUS_CONFIG_SERVICE_CLASS (object_class)->unset = ibus_config_gconf_unset;
+ IBUS_CONFIG_SERVICE_CLASS (object_class)->get_unused = ibus_config_gconf_get_unused;
}
static void
@@ -331,6 +336,16 @@ ibus_config_gconf_unset (IBusConfigService *config,
return TRUE;
}
+static gboolean
+ibus_config_gconf_get_unused (IBusConfigService *config,
+ GValue *unread,
+ GValue *unwritten,
+ IBusError **error) {
+ *error = ibus_error_new_from_printf(
+ DBUS_ERROR_FAILED, "get_unused: Not implemented.");
+ return FALSE;
+}
+
IBusConfigGConf *
ibus_config_gconf_new (IBusConnection *connection)
{
« no previous file with comments | « no previous file | ibus/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698