Commit 419a64e2 authored by Sven Neumann's avatar Sven Neumann
Browse files

Derive GimpParamSpecMemsize from GParamSpecULong.

parent 61945563
2002-11-19 Sven Neumann <sven@gimp.org>
* app/config/gimpconfig-params.[ch]: derive GimpParamSpecMemsize
from GParamSpecULong.
2002-11-19 Manish Singh <yosh@gimp.org>
 
* data/environ/Makefile.am: really fix a comment
......
......@@ -196,7 +196,7 @@ gimp_param_memsize_get_type (void)
0, NULL, NULL
};
spec_type = g_type_register_static (G_TYPE_PARAM_UINT,
spec_type = g_type_register_static (G_TYPE_PARAM_ULONG,
"GimpParamMemsize",
&type_info, 0);
}
......@@ -214,18 +214,18 @@ GParamSpec *
gimp_param_spec_memsize (const gchar *name,
const gchar *nick,
const gchar *blurb,
guint minimum,
guint maximum,
guint default_value,
gulong minimum,
gulong maximum,
gulong default_value,
GParamFlags flags)
{
GParamSpecUInt *pspec;
GParamSpecULong *pspec;
pspec = g_param_spec_internal (GIMP_TYPE_PARAM_MEMSIZE,
name, nick, blurb, flags);
pspec->minimum = minimum;
pspec->maximum = maximum;
pspec->minimum = minimum;
pspec->maximum = maximum;
pspec->default_value = default_value;
return G_PARAM_SPEC (pspec);
......
......@@ -50,9 +50,9 @@ GType gimp_param_memsize_get_type (void) G_GNUC_CONST;
GParamSpec * gimp_param_spec_memsize (const gchar *name,
const gchar *nick,
const gchar *blurb,
guint minimum,
guint maximum,
guint default_value,
gulong minimum,
gulong maximum,
gulong default_value,
GParamFlags flags);
......
......@@ -50,9 +50,9 @@ GType gimp_param_memsize_get_type (void) G_GNUC_CONST;
GParamSpec * gimp_param_spec_memsize (const gchar *name,
const gchar *nick,
const gchar *blurb,
guint minimum,
guint maximum,
guint default_value,
gulong minimum,
gulong maximum,
gulong default_value,
GParamFlags flags);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment