mirror of
https://gitlab.gnome.org/GNOME/eog
synced 2024-10-18 22:14:48 +00:00
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:
parent
8aacbc2957
commit
85b019a2e3
|
@ -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
|
||||
|
|
|
@ -684,7 +684,7 @@
|
|||
(c-name "eog_list_store_get_image_by_pos")
|
||||
(return-type "EogImage*")
|
||||
(parameters
|
||||
'("const-gint" "pos")
|
||||
'("gint" "pos")
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue