aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-toolbars-model.h
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 /lib/egg/egg-toolbars-model.h
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 'lib/egg/egg-toolbars-model.h')
-rwxr-xr-xlib/egg/egg-toolbars-model.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/egg/egg-toolbars-model.h b/lib/egg/egg-toolbars-model.h
index c5fbfafc3..f9ca2105c 100755
--- a/lib/egg/egg-toolbars-model.h
+++ b/lib/egg/egg-toolbars-model.h
@@ -84,8 +84,8 @@ struct EggToolbarsModelClass
GdkAtom dnd_type);
char * (* get_item_id) (EggToolbarsModel *t,
const char *type,
- const char *name);
- char * (* get_item_name) (EggToolbarsModel *t,
+ const char *data);
+ char * (* get_item_data) (EggToolbarsModel *t,
const char *type,
const char *id);
};
@@ -113,7 +113,7 @@ char *egg_toolbars_model_get_item_type (EggToolbarsModel *t,
char *egg_toolbars_model_get_item_id (EggToolbarsModel *t,
const char *type,
const char *name);
-char *egg_toolbars_model_get_item_name (EggToolbarsModel *t,
+char *egg_toolbars_model_get_item_data (EggToolbarsModel *t,
const char *type,
const char *id);
gboolean egg_toolbars_model_add_item (EggToolbarsModel *t,