1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-05 21:02:42 +02:00

Remove use of custom marshallers in favor of GLib ones

This commit is contained in:
Stanislav Grinkov
2021-08-06 12:34:30 +06:00
committed by Jehan
parent 428b944334
commit 6892326e8e
3 changed files with 2 additions and 6 deletions

View File

@@ -109,8 +109,7 @@ gimp_color_display_stack_class_init (GimpColorDisplayStackClass *klass)
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GimpColorDisplayStackClass, removed),
NULL, NULL,
_gimp_widgets_marshal_VOID__OBJECT,
NULL, NULL, NULL,
G_TYPE_NONE, 1,
GIMP_TYPE_COLOR_DISPLAY);

View File

@@ -100,8 +100,7 @@ gimp_color_selector_class_init (GimpColorSelectorClass *klass)
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GimpColorSelectorClass, channel_changed),
NULL, NULL,
_gimp_widgets_marshal_VOID__ENUM,
NULL, NULL, NULL,
G_TYPE_NONE, 1,
GIMP_TYPE_COLOR_SELECTOR_CHANNEL);

View File

@@ -22,10 +22,8 @@
# NONE deprecated alias for VOID
# BOOL deprecated alias for BOOLEAN
VOID: ENUM
VOID: ENUM, BOOLEAN
VOID: INT, INT
VOID: OBJECT
VOID: OBJECT, INT
VOID: BOXED, BOXED
VOID: STRING, FLAGS