aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-06-10 05:06:45 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-06-10 05:06:45 +0800
commit3c3cd0eea121652c722a9678a46419b0c47b5111 (patch)
treebc8ac36506321a14cb65d8c79ec9181deb18d423 /src
parent1f2d796e969302d64a1ec00b81b57ae594e12a9e (diff)
downloadgsoc2013-epiphany-3c3cd0eea121652c722a9678a46419b0c47b5111.tar
gsoc2013-epiphany-3c3cd0eea121652c722a9678a46419b0c47b5111.tar.gz
gsoc2013-epiphany-3c3cd0eea121652c722a9678a46419b0c47b5111.tar.bz2
gsoc2013-epiphany-3c3cd0eea121652c722a9678a46419b0c47b5111.tar.lz
gsoc2013-epiphany-3c3cd0eea121652c722a9678a46419b0c47b5111.tar.xz
gsoc2013-epiphany-3c3cd0eea121652c722a9678a46419b0c47b5111.tar.zst
gsoc2013-epiphany-3c3cd0eea121652c722a9678a46419b0c47b5111.zip
s/get_item_name/get_item_data
2004-06-09 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (set_item_drag_source): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (impl_get_item_id), (impl_get_item_data), (egg_toolbars_model_class_init), (egg_toolbars_model_get_item_data): * lib/egg/egg-toolbars-model.h: * src/ephy-toolbars-model.c: (impl_get_item_data), (impl_get_item_id), (ephy_toolbars_model_class_init): s/get_item_name/get_item_data Do not assume data isnt changing, use the id and convert later instead.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ephy-toolbars-model.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ephy-toolbars-model.c b/src/ephy-toolbars-model.c
index 92bc0e1ab..0df59cb0a 100755
--- a/src/ephy-toolbars-model.c
+++ b/src/ephy-toolbars-model.c
@@ -131,7 +131,7 @@ bookmark_destroy_cb (EphyNode *node,
}
static char *
-impl_get_item_name (EggToolbarsModel *t,
+impl_get_item_data (EggToolbarsModel *t,
const char *type,
const char *id)
{
@@ -163,7 +163,7 @@ impl_get_item_name (EggToolbarsModel *t,
return g_strdup (name);
}
- return EGG_TOOLBARS_MODEL_CLASS (parent_class)->get_item_name (t, type, id);
+ return EGG_TOOLBARS_MODEL_CLASS (parent_class)->get_item_data (t, type, id);
}
static char *
@@ -227,7 +227,7 @@ impl_get_item_id (EggToolbarsModel *t,
(model, ephy_node_get_id (node));
}
- return EGG_TOOLBARS_MODEL_CLASS (parent_class)->get_item_id (t, type, name);
+ return EGG_TOOLBARS_MODEL_CLASS (parent_class)->get_item_data (t, type, name);
}
static char *
@@ -439,7 +439,7 @@ ephy_toolbars_model_class_init (EphyToolbarsModelClass *klass)
object_class->get_property = ephy_toolbars_model_get_property;
etm_class->get_item_id = impl_get_item_id;
- etm_class->get_item_name = impl_get_item_name;
+ etm_class->get_item_data = impl_get_item_data;
etm_class->get_item_type = impl_get_item_type;
g_object_class_install_property (object_class,