diff options
author | mbkma <[email protected]> | 2020-10-04 18:09:56 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-10-19 10:59:44 +0200 |
commit | 0830446ca167e24e3105bb76fcf5aabc13608b54 (patch) | |
tree | 22e0154a981ab80e7f2d11702e61fe522b127094 /plugins/spell/pluma-spell-checker-dialog.c | |
parent | ae86d50d909e7e20b856107614b255104c8850a6 (diff) | |
download | pluma-0830446ca167e24e3105bb76fcf5aabc13608b54.tar.bz2 pluma-0830446ca167e24e3105bb76fcf5aabc13608b54.tar.xz |
Remove pluma-marshal.
These days we can use the automatic ffi marshalling.
See:
- https://developer.gnome.org/gobject/stable/gobject-Signals.html#g-signal-new
- http://sourceware.org/libffi/
- https://gitlab.gnome.org/GNOME/gedit/-/commit/373adb7d041b0559953d0ac8cf2213ecc44db956
Diffstat (limited to 'plugins/spell/pluma-spell-checker-dialog.c')
-rw-r--r-- | plugins/spell/pluma-spell-checker-dialog.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/plugins/spell/pluma-spell-checker-dialog.c b/plugins/spell/pluma-spell-checker-dialog.c index 146c3175..61f83fdf 100644 --- a/plugins/spell/pluma-spell-checker-dialog.c +++ b/plugins/spell/pluma-spell-checker-dialog.c @@ -36,7 +36,6 @@ #include <gtk/gtk.h> #include <pluma/pluma-utils.h> #include "pluma-spell-checker-dialog.h" -#include "pluma-spell-marshal.h" struct _PlumaSpellCheckerDialog { @@ -142,8 +141,7 @@ pluma_spell_checker_dialog_class_init (PlumaSpellCheckerDialogClass * klass) G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PlumaSpellCheckerDialogClass, ignore), - NULL, NULL, - pluma_marshal_VOID__STRING, + NULL, NULL, NULL, G_TYPE_NONE, 1, G_TYPE_STRING); @@ -153,8 +151,7 @@ pluma_spell_checker_dialog_class_init (PlumaSpellCheckerDialogClass * klass) G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PlumaSpellCheckerDialogClass, ignore_all), - NULL, NULL, - pluma_marshal_VOID__STRING, + NULL, NULL, NULL, G_TYPE_NONE, 1, G_TYPE_STRING); @@ -164,8 +161,7 @@ pluma_spell_checker_dialog_class_init (PlumaSpellCheckerDialogClass * klass) G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PlumaSpellCheckerDialogClass, change), - NULL, NULL, - pluma_marshal_VOID__STRING_STRING, + NULL, NULL, NULL, G_TYPE_NONE, 2, G_TYPE_STRING, @@ -176,8 +172,7 @@ pluma_spell_checker_dialog_class_init (PlumaSpellCheckerDialogClass * klass) G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PlumaSpellCheckerDialogClass, change_all), - NULL, NULL, - pluma_marshal_VOID__STRING_STRING, + NULL, NULL, NULL, G_TYPE_NONE, 2, G_TYPE_STRING, @@ -188,8 +183,7 @@ pluma_spell_checker_dialog_class_init (PlumaSpellCheckerDialogClass * klass) G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PlumaSpellCheckerDialogClass, add_word_to_personal), - NULL, NULL, - pluma_marshal_VOID__STRING, + NULL, NULL, NULL, G_TYPE_NONE, 1, G_TYPE_STRING); |