mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-07-04 17:09:30 +00:00
Removed unused wrap_set/get_double
Actually gconf_client_get_double does not even exist (it is get_float) but since it was never used it was stripped and compilation did not fail.
This commit is contained in:
parent
2cbed77be7
commit
f82a727916
|
@ -125,20 +125,6 @@ wrap_get_int(GitgPreferences *preferences, Binding *binding, GValue *value)
|
|||
g_value_set_int(value, val);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
wrap_set_double(GitgPreferences *preferences, Binding *binding, GValue const *value)
|
||||
{
|
||||
gdouble val = g_value_get_double(value);
|
||||
return gconf_client_set_double(preferences->priv->client, binding->key, val, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
wrap_get_double(GitgPreferences *preferences, Binding *binding, GValue *value)
|
||||
{
|
||||
gdouble val = gconf_client_get_double(preferences->priv->client, binding->key, NULL);
|
||||
g_value_set_double(value, val);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
wrap_set_string(GitgPreferences *preferences, Binding *binding, GValue const *value)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user