summaryrefslogtreecommitdiffstats
path: root/gtk/src/values.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/values.c')
-rw-r--r--gtk/src/values.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/gtk/src/values.c b/gtk/src/values.c
index 2b253c0e6..85886e17e 100644
--- a/gtk/src/values.c
+++ b/gtk/src/values.c
@@ -2,14 +2,14 @@
/*
* presets.c
* Copyright (C) John Stebbins 2008-2013 <stebbins@stebbins>
- *
+ *
* presets.c is free software.
- *
+ *
* You may redistribute it and/or modify it under the terms of the
* GNU General Public License, as published by the Free Software
* Foundation; either version 2 of the License, or (at your option)
* any later version.
- *
+ *
*/
#include <glib.h>
@@ -264,7 +264,7 @@ ghb_value_cmp(const GValue *vala, const GValue *valb)
{
return 1;
}
-
+
if (typa == G_TYPE_STRING)
{
char *stra, *strb;
@@ -288,7 +288,7 @@ ghb_value_cmp(const GValue *vala, const GValue *valb)
g_free(strb);
return res;
}
- else if (typa == G_TYPE_INT64 || typa == G_TYPE_INT ||
+ else if (typa == G_TYPE_INT64 || typa == G_TYPE_INT ||
typa == G_TYPE_BOOLEAN)
{
return ghb_value_int64(vala) - ghb_value_int64(valb);
@@ -446,7 +446,7 @@ ghb_array_value_reset(GValue *gval, guint size)
g_value_take_boxed(gval, array);
}
-GValue*
+GValue*
ghb_date_value_new(GDate *date)
{
GValue *gval = ghb_value_new(g_date_get_type());
@@ -454,7 +454,7 @@ ghb_date_value_new(GDate *date)
return gval;
}
-GValue*
+GValue*
ghb_rawdata_value_new(ghb_rawdata_t *data)
{
GValue *gval = ghb_value_new(ghb_rawdata_get_type());
@@ -780,14 +780,14 @@ xform_boolean_double(const GValue *bval, GValue *dval)
void
ghb_register_transforms()
{
- g_value_register_transform_func(G_TYPE_STRING, G_TYPE_INT64,
+ g_value_register_transform_func(G_TYPE_STRING, G_TYPE_INT64,
xform_string_int64);
- g_value_register_transform_func(G_TYPE_STRING, G_TYPE_INT,
+ g_value_register_transform_func(G_TYPE_STRING, G_TYPE_INT,
xform_string_int);
- g_value_register_transform_func(G_TYPE_STRING, G_TYPE_DOUBLE,
+ g_value_register_transform_func(G_TYPE_STRING, G_TYPE_DOUBLE,
xform_string_double);
- g_value_register_transform_func(G_TYPE_BOOLEAN, G_TYPE_DOUBLE,
+ g_value_register_transform_func(G_TYPE_BOOLEAN, G_TYPE_DOUBLE,
xform_boolean_double);
- g_value_register_transform_func(G_TYPE_DOUBLE, G_TYPE_STRING,
+ g_value_register_transform_func(G_TYPE_DOUBLE, G_TYPE_STRING,
xform_double_string);
}