From 8b4d044d4de65fc02692132a1471795ce26dcdc5 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 3 Nov 2003 22:41:37 +0000 Subject: Remove unused types. 2003-11-03 Christian Persch * lib/ephy-marshal.list: Remove unused types. * embed/ephy-embed.c: (ephy_embed_base_init): * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): Use g_cclosure_marshal_* instead of our own ephy_marshal_* where there is a one. For signals returning a boolean, use the g_signal_accumulator_true_handled accumulator. --- lib/ephy-marshal.list | 19 ++++--------------- lib/widgets/ephy-arrow-toolbutton.c | 2 +- 2 files changed, 5 insertions(+), 16 deletions(-) (limited to 'lib') diff --git a/lib/ephy-marshal.list b/lib/ephy-marshal.list index 622acfd50..3c5ffae41 100644 --- a/lib/ephy-marshal.list +++ b/lib/ephy-marshal.list @@ -1,18 +1,7 @@ -VOID:VOID -VOID:STRING -VOID:OBJECT -VOID:OBJECT, POINTER -VOID:OBJECT,OBJECT,INT -VOID:OBJECT,STRING,INT -VOID:OBJECT,INT -VOID:OBJECT,INT,INT -VOID:POINTER,INT -VOID:STRING,INT,INT -VOID:STRING,INT -VOID:STRING,STRING INT:STRING +BOOLEAN:OBJECT VOID:INT,INT -VOID:INT,INT,INT -INT:OBJECT +VOID:POINTER,INT VOID:POINTER,POINTER -VOID:FLOAT +VOID:STRING,INT +VOID:STRING,INT,INT diff --git a/lib/widgets/ephy-arrow-toolbutton.c b/lib/widgets/ephy-arrow-toolbutton.c index 147c7d80b..0aa905efa 100644 --- a/lib/widgets/ephy-arrow-toolbutton.c +++ b/lib/widgets/ephy-arrow-toolbutton.c @@ -114,7 +114,7 @@ ephy_arrow_toolbutton_class_init (EphyArrowToolButtonClass *klass) G_SIGNAL_RUN_FIRST | G_SIGNAL_RUN_LAST | G_SIGNAL_RUN_CLEANUP, G_STRUCT_OFFSET (EphyArrowToolButtonClass, menu_activated), NULL, NULL, - ephy_marshal_VOID__VOID, + g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); g_type_class_add_private (object_class, sizeof (EphyArrowToolButtonPrivate)); -- cgit v1.2.3