[eog/gnome-3-2] Fix some introspection annotations



commit a248fb20abac2fb822fd59a01d51394e15b62d21
Author: Felix Riemann <friemann gnome org>
Date:   Wed Oct 12 14:40:43 2011 +0200

    Fix some introspection annotations
    
    There were element-type annotations for list parameters of
    several functions.

 src/eog-application.c |    4 ++--
 src/eog-image.c       |    2 +-
 src/eog-list-store.c  |    4 ++--
 src/eog-window.c      |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/eog-application.c b/src/eog-application.c
index 258db1b..0cf8209 100644
--- a/src/eog-application.c
+++ b/src/eog-application.c
@@ -305,7 +305,7 @@ eog_application_show_window (EogWindow *window, gpointer user_data)
 /**
  * eog_application_open_file_list:
  * @application: An #EogApplication.
- * @file_list: A list of #GFile<!-- -->s.
+ * @file_list: (element-type GFile): A list of #GFile<!-- -->s.
  * @timestamp: The timestamp of the user interaction which triggered this call
  * (see gtk_window_present_with_time()).
  * @flags: A set of #EogStartupFlags influencing a new windows' state.
@@ -355,7 +355,7 @@ eog_application_open_file_list (EogApplication  *application,
 /**
  * eog_application_open_uri_list:
  * @application: An #EogApplication.
- * @uri_list: A list of URIs.
+ * @uri_list: (element-type utf8): A list of URIs.
  * @timestamp: The timestamp of the user interaction which triggered this call
  * (see gtk_window_present_with_time()).
  * @flags: A set of #EogStartupFlags influencing a new windows' state.
diff --git a/src/eog-image.c b/src/eog-image.c
index 5cf8574..5e96b82 100644
--- a/src/eog-image.c
+++ b/src/eog-image.c
@@ -2215,7 +2215,7 @@ compare_quarks (gconstpointer a, gconstpointer b)
  *
  * Gets the list of supported mimetypes
  *
- * Returns: (transfer none): a #GList of supported mimetypes
+ * Returns: (transfer none)(element-type utf8): a #GList of supported mimetypes
  **/
 GList *
 eog_image_get_supported_mime_types (void)
diff --git a/src/eog-list-store.c b/src/eog-list-store.c
index 8e26021..0e07297 100644
--- a/src/eog-list-store.c
+++ b/src/eog-list-store.c
@@ -523,7 +523,7 @@ eog_list_store_append_directory (EogListStore *store,
 /**
  * eog_list_store_add_files:
  * @store: An #EogListStore.
- * @file_list: A %NULL-terminated list of #GFile's.
+ * @file_list: (element-type GFile): A %NULL-terminated list of #GFile's.
  *
  * Adds a list of #GFile's to @store. The given list
  * must be %NULL-terminated.
@@ -652,7 +652,7 @@ eog_list_store_remove_image (EogListStore *store, EogImage *image)
 
 /**
  * eog_list_store_new_from_glist:
- * @list: a %NULL-terminated list of #EogImage's.
+ * @list: (element-type EogImage): a %NULL-terminated list of #EogImage's.
  *
  * Creates a new #EogListStore from a list of #EogImage's.
  * The given list must be %NULL-terminated.
diff --git a/src/eog-window.c b/src/eog-window.c
index 3a774a0..62d027f 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -5453,7 +5453,7 @@ eog_job_model_cb (EogJobModel *job, gpointer data)
 /**
  * eog_window_open_file_list:
  * @window: An #EogWindow.
- * @file_list: A %NULL-terminated list of #GFile's.
+ * @file_list: (element-type GFile): A %NULL-terminated list of #GFile's.
  *
  * Opens a list of files, adding them to the gallery in @window.
  * Files will be checked to be readable and later filtered according



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