diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-11-04 06:41:37 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-11-04 06:41:37 +0800 |
commit | 8b4d044d4de65fc02692132a1471795ce26dcdc5 (patch) | |
tree | e9ab942c7e26c7bda1c363aed1dd937797a82a1b /embed/ephy-embed.c | |
parent | 2f10c10cd81abd29f24ace8c128a5b5d3244fbdd (diff) | |
download | gsoc2013-epiphany-8b4d044d4de65fc02692132a1471795ce26dcdc5.tar gsoc2013-epiphany-8b4d044d4de65fc02692132a1471795ce26dcdc5.tar.gz gsoc2013-epiphany-8b4d044d4de65fc02692132a1471795ce26dcdc5.tar.bz2 gsoc2013-epiphany-8b4d044d4de65fc02692132a1471795ce26dcdc5.tar.lz gsoc2013-epiphany-8b4d044d4de65fc02692132a1471795ce26dcdc5.tar.xz gsoc2013-epiphany-8b4d044d4de65fc02692132a1471795ce26dcdc5.tar.zst gsoc2013-epiphany-8b4d044d4de65fc02692132a1471795ce26dcdc5.zip |
Remove unused types.
2003-11-03 Christian Persch <chpe@cvs.gnome.org>
* 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.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 3158a1d00..a988f9732 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -107,7 +107,7 @@ ephy_embed_base_init (gpointer g_class) G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (EphyEmbedClass, link_message), NULL, NULL, - ephy_marshal_VOID__STRING, + g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); @@ -116,9 +116,9 @@ ephy_embed_base_init (gpointer g_class) EPHY_TYPE_EMBED, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (EphyEmbedClass, context_menu), - NULL, NULL, - ephy_marshal_INT__OBJECT, - G_TYPE_INT, + g_signal_accumulator_true_handled, NULL, + ephy_marshal_BOOLEAN__OBJECT, + G_TYPE_BOOLEAN, 1, G_TYPE_OBJECT); ephy_embed_signals[FAVICON] = @@ -127,7 +127,7 @@ ephy_embed_base_init (gpointer g_class) G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (EphyEmbedClass, favicon), NULL, NULL, - ephy_marshal_VOID__STRING, + g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); @@ -137,7 +137,7 @@ ephy_embed_base_init (gpointer g_class) G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (EphyEmbedClass, js_status), NULL, NULL, - ephy_marshal_VOID__STRING, + g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); @@ -147,7 +147,7 @@ ephy_embed_base_init (gpointer g_class) G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (EphyEmbedClass, location), NULL, NULL, - ephy_marshal_VOID__STRING, + g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); @@ -228,9 +228,9 @@ ephy_embed_base_init (gpointer g_class) EPHY_TYPE_EMBED, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (EphyEmbedClass, dom_mouse_click), - NULL, NULL, - ephy_marshal_INT__OBJECT, - G_TYPE_INT, + g_signal_accumulator_true_handled, NULL, + ephy_marshal_BOOLEAN__OBJECT, + G_TYPE_BOOLEAN, 1, G_TYPE_POINTER); ephy_embed_signals[DOM_MOUSE_DOWN] = @@ -238,9 +238,9 @@ ephy_embed_base_init (gpointer g_class) EPHY_TYPE_EMBED, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (EphyEmbedClass, dom_mouse_down), - NULL, NULL, - ephy_marshal_INT__OBJECT, - G_TYPE_INT, + g_signal_accumulator_true_handled, NULL, + ephy_marshal_BOOLEAN__OBJECT, + G_TYPE_BOOLEAN, 1, G_TYPE_POINTER); ephy_embed_signals[SECURITY_CHANGE] = |