Remove unneeded const keyword for call-by-value parameter. Make

2009-01-05  Felix Riemann  <friemann@svn.gnome.org>

	* src/eog-list-store.c: (eog_list_store_get_image_by_pos):
	* src/eog-list-store.h: Remove unneeded const keyword for
	call-by-value parameter.
	* bindings/python/eog.defs: Make eog_list_store_get_image_by_pos
	available in the Python bindings.

svn path=/trunk/; revision=4930
This commit is contained in:
Felix Riemann 2009-01-05 20:08:20 +00:00 committed by Felix Riemann
parent 8aacbc2957
commit 85b019a2e3
4 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2009-01-05 Felix Riemann <friemann@svn.gnome.org>
* src/eog-list-store.c: (eog_list_store_get_image_by_pos):
* src/eog-list-store.h: Remove unneeded const keyword for
call-by-value parameter.
* bindings/python/eog.defs: Make eog_list_store_get_image_by_pos
available in the Python bindings.
2009-01-05 Felix Riemann <friemann@svn.gnome.org>
* src/eog-util.c: (eog_util_dot_dir): Find config folder without

View file

@ -684,7 +684,7 @@
(c-name "eog_list_store_get_image_by_pos")
(return-type "EogImage*")
(parameters
'("const-gint" "pos")
'("gint" "pos")
)
)

View file

@ -724,7 +724,7 @@ eog_list_store_get_pos_by_image (EogListStore *store, EogImage *image)
*
**/
EogImage *
eog_list_store_get_image_by_pos (EogListStore *store, const gint pos)
eog_list_store_get_image_by_pos (EogListStore *store, gint pos)
{
EogImage *image = NULL;
GtkTreeIter iter;

View file

@ -90,7 +90,7 @@ gint eog_list_store_get_pos_by_image (EogListStore *store,
EogImage *image);
EogImage *eog_list_store_get_image_by_pos (EogListStore *store,
const gint pos);
gint pos);
gint eog_list_store_get_pos_by_iter (EogListStore *store,
GtkTreeIter *iter);