diff options
author | Tim Janik <timj@gtk.org> | 2001-10-12 16:42:48 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2001-10-12 16:42:48 +0000 |
commit | a7cba8a50abfba7ee634ba194f22bdf05a189271 (patch) | |
tree | 8e5e401bd0035a23a9c8d2134835d8b3706d6cac /gobject | |
parent | 2125a86d737fa1f0b81638a882dac0b6052b05b6 (diff) |
cosmetic fixups.
Fri Oct 12 18:40:18 2001 Tim Janik <timj@gtk.org>
* cosmetic fixups.
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/ChangeLog | 4 | ||||
-rw-r--r-- | gobject/gparamspecs.c | 30 | ||||
-rw-r--r-- | gobject/gvaluecollector.h | 4 | ||||
-rw-r--r-- | gobject/gvaluetypes.c | 20 |
4 files changed, 31 insertions, 27 deletions
diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 139f6417a..435c44a6f 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,7 @@ +Fri Oct 12 18:40:18 2001 Tim Janik <timj@gtk.org> + + * cosmetic fixups. + Wed Oct 10 17:25:22 2001 Joshua N Pritikin <vishnu@pobox.com> * glib-genmarshal.c gparamspecs.[ch] gtype.[ch] gvalue.h diff --git a/gobject/gparamspecs.c b/gobject/gparamspecs.c index 00580ab02..f15727834 100644 --- a/gobject/gparamspecs.c +++ b/gobject/gparamspecs.c @@ -1543,15 +1543,15 @@ g_param_spec_ulong (const gchar *name, GParamSpec* g_param_spec_int64 (const gchar *name, - const gchar *nick, - const gchar *blurb, - gint64 minimum, - gint64 maximum, - gint64 default_value, - GParamFlags flags) + const gchar *nick, + const gchar *blurb, + gint64 minimum, + gint64 maximum, + gint64 default_value, + GParamFlags flags) { GParamSpecInt64 *lspec; - + g_return_val_if_fail (default_value >= minimum && default_value <= maximum, NULL); lspec = g_param_spec_internal (G_TYPE_PARAM_INT64, @@ -1569,17 +1569,17 @@ g_param_spec_int64 (const gchar *name, GParamSpec* g_param_spec_uint64 (const gchar *name, - const gchar *nick, - const gchar *blurb, - guint64 minimum, - guint64 maximum, - guint64 default_value, - GParamFlags flags) + const gchar *nick, + const gchar *blurb, + guint64 minimum, + guint64 maximum, + guint64 default_value, + GParamFlags flags) { GParamSpecUInt64 *uspec; - + g_return_val_if_fail (default_value >= minimum && default_value <= maximum, NULL); - + uspec = g_param_spec_internal (G_TYPE_PARAM_UINT64, name, nick, diff --git a/gobject/gvaluecollector.h b/gobject/gvaluecollector.h index 5ca80e944..0f5e86524 100644 --- a/gobject/gvaluecollector.h +++ b/gobject/gvaluecollector.h @@ -87,7 +87,7 @@ G_STMT_START { \ _cvalue->v_long = va_arg ((var_args), glong); \ break; \ case G_VALUE_COLLECT_INT64: \ - _cvalue->v_int64 = va_arg ((var_args), gint64); \ + _cvalue->v_int64 = va_arg ((var_args), gint64); \ break; \ case G_VALUE_COLLECT_DOUBLE: \ _cvalue->v_double = va_arg ((var_args), gdouble); \ @@ -132,7 +132,7 @@ G_STMT_START { \ _cvalue->v_long = va_arg ((var_args), glong); \ break; \ case G_VALUE_COLLECT_INT64: \ - _cvalue->v_int64 = va_arg ((var_args), gint64); \ + _cvalue->v_int64 = va_arg ((var_args), gint64); \ break; \ case G_VALUE_COLLECT_DOUBLE: \ _cvalue->v_double = va_arg ((var_args), gdouble); \ diff --git a/gobject/gvaluetypes.c b/gobject/gvaluetypes.c index 042dea2ba..c64bb352e 100644 --- a/gobject/gvaluetypes.c +++ b/gobject/gvaluetypes.c @@ -136,16 +136,16 @@ value_init_int64 (GValue *value) static void value_copy_int64 (const GValue *src_value, - GValue *dest_value) + GValue *dest_value) { dest_value->data[0].v_int64 = src_value->data[0].v_int64; } static gchar* value_collect_int64 (GValue *value, - guint n_collect_values, - GTypeCValue *collect_values, - guint collect_flags) + guint n_collect_values, + GTypeCValue *collect_values, + guint collect_flags) { value->data[0].v_int64 = collect_values[0].v_int64; @@ -154,9 +154,9 @@ value_collect_int64 (GValue *value, static gchar* value_lcopy_int64 (const GValue *value, - guint n_collect_values, - GTypeCValue *collect_values, - guint collect_flags) + guint n_collect_values, + GTypeCValue *collect_values, + guint collect_flags) { gint64 *int64_p = collect_values[0].v_pointer; @@ -463,7 +463,7 @@ g_value_types_init (void) /* sync with gtype.c */ "q", /* collect_format */ value_collect_int64, /* collect_value */ "p", /* lcopy_format */ - value_lcopy_int64, /* lcopy_value */ + value_lcopy_int64, /* lcopy_value */ }; info.value_table = &value_table; type = g_type_register_fundamental (G_TYPE_INT64, "gint64", &info, &finfo, 0); @@ -668,7 +668,7 @@ g_value_get_ulong (const GValue *value) void g_value_set_int64 (GValue *value, - gint64 v_int64) + gint64 v_int64) { g_return_if_fail (G_VALUE_HOLDS_INT64 (value)); @@ -685,7 +685,7 @@ g_value_get_int64 (const GValue *value) void g_value_set_uint64 (GValue *value, - guint64 v_uint64) + guint64 v_uint64) { g_return_if_fail (G_VALUE_HOLDS_UINT64 (value)); |