Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
419a64e2
Commit
419a64e2
authored
Nov 19, 2002
by
Sven Neumann
Browse files
Derive GimpParamSpecMemsize from GParamSpecULong.
parent
61945563
Changes
4
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
419a64e2
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
...
...
app/config/gimpconfig-params.c
View file @
419a64e2
...
...
@@ -196,7 +196,7 @@ gimp_param_memsize_get_type (void)
0
,
NULL
,
NULL
};
spec_type
=
g_type_register_static
(
G_TYPE_PARAM_U
INT
,
spec_type
=
g_type_register_static
(
G_TYPE_PARAM_U
LONG
,
"GimpParamMemsize"
,
&
type_info
,
0
);
}
...
...
@@ -214,18 +214,18 @@ GParamSpec *
gimp_param_spec_memsize
(
const
gchar
*
name
,
const
gchar
*
nick
,
const
gchar
*
blurb
,
gu
int
minimum
,
gu
int
maximum
,
gu
int
default_value
,
gu
long
minimum
,
gu
long
maximum
,
gu
long
default_value
,
GParamFlags
flags
)
{
GParamSpecU
Int
*
pspec
;
GParamSpecU
Long
*
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
);
...
...
app/config/gimpconfig-params.h
View file @
419a64e2
...
...
@@ -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
,
gu
int
minimum
,
gu
int
maximum
,
gu
int
default_value
,
gu
long
minimum
,
gu
long
maximum
,
gu
long
default_value
,
GParamFlags
flags
);
...
...
libgimpconfig/gimpconfig-params.h
View file @
419a64e2
...
...
@@ -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
,
gu
int
minimum
,
gu
int
maximum
,
gu
int
default_value
,
gu
long
minimum
,
gu
long
maximum
,
gu
long
default_value
,
GParamFlags
flags
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment