aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-11-04 06:41:37 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-04 06:41:37 +0800
commit8b4d044d4de65fc02692132a1471795ce26dcdc5 (patch)
treee9ab942c7e26c7bda1c363aed1dd937797a82a1b /lib
parent2f10c10cd81abd29f24ace8c128a5b5d3244fbdd (diff)
downloadgsoc2013-epiphany-8b4d044d4de65fc02692132a1471795ce26dcdc5.tar.gz
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 'lib')
-rw-r--r--lib/ephy-marshal.list19
-rw-r--r--lib/widgets/ephy-arrow-toolbutton.c2
2 files changed, 5 insertions, 16 deletions
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));