eog r4930 - in trunk: . bindings/python src



Author: friemann
Date: Mon Jan  5 20:08:20 2009
New Revision: 4930
URL: http://svn.gnome.org/viewvc/eog?rev=4930&view=rev

Log:
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.


Modified:
   trunk/ChangeLog
   trunk/bindings/python/eog.defs
   trunk/src/eog-list-store.c
   trunk/src/eog-list-store.h

Modified: trunk/bindings/python/eog.defs
==============================================================================
--- trunk/bindings/python/eog.defs	(original)
+++ trunk/bindings/python/eog.defs	Mon Jan  5 20:08:20 2009
@@ -684,7 +684,7 @@
   (c-name "eog_list_store_get_image_by_pos")
   (return-type "EogImage*")
   (parameters
-    '("const-gint" "pos")
+    '("gint" "pos")
   )
 )
 

Modified: trunk/src/eog-list-store.c
==============================================================================
--- trunk/src/eog-list-store.c	(original)
+++ trunk/src/eog-list-store.c	Mon Jan  5 20:08:20 2009
@@ -724,7 +724,7 @@
  *
  **/
 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;

Modified: trunk/src/eog-list-store.h
==============================================================================
--- trunk/src/eog-list-store.h	(original)
+++ trunk/src/eog-list-store.h	Mon Jan  5 20:08:20 2009
@@ -90,7 +90,7 @@
 						      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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]