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. --- src/ephy-notebook.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ephy-notebook.c') diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 6567d12ed..14be45a87 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -142,7 +142,7 @@ ephy_notebook_class_init (EphyNotebookClass *klass) G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (EphyNotebookClass, tab_added), NULL, NULL, - ephy_marshal_VOID__OBJECT, + g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GTK_TYPE_WIDGET); @@ -152,7 +152,7 @@ ephy_notebook_class_init (EphyNotebookClass *klass) G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (EphyNotebookClass, tab_removed), NULL, NULL, - ephy_marshal_VOID__OBJECT, + g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GTK_TYPE_WIDGET); @@ -162,7 +162,7 @@ ephy_notebook_class_init (EphyNotebookClass *klass) G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (EphyNotebookClass, tab_detached), NULL, NULL, - ephy_marshal_VOID__OBJECT, + g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GTK_TYPE_WIDGET); @@ -172,7 +172,7 @@ ephy_notebook_class_init (EphyNotebookClass *klass) G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (EphyNotebookClass, tabs_reordered), NULL, NULL, - ephy_marshal_VOID__VOID, + g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -- cgit v1.2.3