diff options
author | Tim Janik <timj@gtk.org> | 2001-05-10 13:58:40 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2001-05-10 13:58:40 +0000 |
commit | a5947b9df810b824dd35fa572a3ad74d03d0f800 (patch) | |
tree | eeb99647c12b39f2f1371c229335f9e0eafc2e69 /gobject/gparamspecs.c | |
parent | ea05dba9b6dade513ceeac009da0d4e3a8eae59e (diff) |
use g_str_hash() algorithm to generate hashes.
Thu May 10 15:19:01 2001 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_key_hash): use g_str_hash() algorithm
to generate hashes.
* gmem.c (standard_calloc): free() doesn't return a value
(Mark Murnane).
Thu May 10 14:00:48 2001 Tim Janik <timj@gtk.org>
* gparamspecs.[hc]: removed g_param_spec_stringc() in lack of
evidence of public need.
* gsignal.h: added g_signal_disconnect_by_func(),
g_signal_block_by_func() and g_signal_unblock_by_func() convenience
macros as per owen's request.
* gtype.c (SIZEOF_FUNDAMENTAL_INFO): align sizeof (GTypeFundamentalInfo)
to size of longs and pointers.
Diffstat (limited to 'gobject/gparamspecs.c')
-rw-r--r-- | gobject/gparamspecs.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gobject/gparamspecs.c b/gobject/gparamspecs.c index cc4472808..9b2f10461 100644 --- a/gobject/gparamspecs.c +++ b/gobject/gparamspecs.c @@ -1578,31 +1578,6 @@ g_param_spec_string (const gchar *name, } GParamSpec* -g_param_spec_stringc (const gchar *name, - const gchar *nick, - const gchar *blurb, - const gchar *default_value, - GParamFlags flags) -{ - GParamSpecString *sspec = g_param_spec_internal (G_TYPE_PARAM_STRING, - name, - nick, - blurb, - flags); - g_free (sspec->default_value); - sspec->default_value = g_strdup (default_value); - g_free (sspec->cset_first); - sspec->cset_first = g_strdup (G_CSET_a_2_z "_" G_CSET_A_2_Z); - g_free (sspec->cset_nth); - sspec->cset_nth = g_strdup (G_CSET_a_2_z - "_0123456789" - /* G_CSET_LATINS G_CSET_LATINC */ - G_CSET_A_2_Z); - - return G_PARAM_SPEC (sspec); -} - -GParamSpec* g_param_spec_param (const gchar *name, const gchar *nick, const gchar *blurb, |