[rhythmbox] silence some g-i warnings



commit b35a486e7c2b844564b6d897148d85abd4a21a5b
Author: Jonathan Matthew <jonathan d14n org>
Date:   Fri Aug 24 08:09:36 2012 +1000

    silence some g-i warnings

 backends/rb-player-gst-tee.c       |    2 +-
 lib/libmediaplayerid/mpid-device.c |   32 ++++++++++++++++----------------
 metadata/rb-ext-db.c               |    2 +-
 rhythmdb/rhythmdb-entry-type.c     |   12 ++++++------
 rhythmdb/rhythmdb-query.c          |    2 +-
 rhythmdb/rhythmdb.c                |    6 +++---
 shell/rb-playlist-manager.c        |    2 +-
 shell/rb-removable-media-manager.c |    6 +++---
 shell/rb-shell-player.c            |    2 +-
 shell/rb-track-transfer-batch.c    |   14 +++++++-------
 shell/rb-track-transfer-queue.c    |    4 ++--
 sources/rb-media-player-source.c   |    2 +-
 widgets/rb-entry-view.c            |    4 ++--
 widgets/rb-property-view.c         |    2 +-
 widgets/rb-segmented-bar.c         |    6 +++---
 15 files changed, 49 insertions(+), 49 deletions(-)
---
diff --git a/backends/rb-player-gst-tee.c b/backends/rb-player-gst-tee.c
index c81f403..56fa789 100644
--- a/backends/rb-player-gst-tee.c
+++ b/backends/rb-player-gst-tee.c
@@ -70,7 +70,7 @@ rb_player_gst_tee_interface_init (RBPlayerGstTeeIface *iface)
 			      1, G_TYPE_OBJECT);
 
 	/**
-	 * RBPlayerGstTee::tee-pre-remove
+	 * RBPlayerGstTee::tee-pre-remove:
 	 * @player: the #RBPlayerGstTee implementation
 	 * @tee: the element which is about to be removed
 	 *
diff --git a/lib/libmediaplayerid/mpid-device.c b/lib/libmediaplayerid/mpid-device.c
index bb9e3a7..558110c 100644
--- a/lib/libmediaplayerid/mpid-device.c
+++ b/lib/libmediaplayerid/mpid-device.c
@@ -329,7 +329,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 
 	/* install properties */
 	/**
-	 * MPIDDevice:input-path
+	 * MPIDDevice:input-path:
 	 *
 	 * Either the device node path or the mount point path for the device.
 	 */
@@ -341,7 +341,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							      NULL,
 							      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 	/**
-	 * MPIDDevice::error
+	 * MPIDDevice:error:
 	 *
 	 * MPID error code resulting from device detection (see #MPIDError)
 	 */
@@ -354,7 +354,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							    MPID_ERROR_NONE,
 							    G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::source
+	 * MPIDDevice:source:
 	 *
 	 * The information source used to provide device information (see #MPIDSource)
 	 */
@@ -367,7 +367,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							    MPID_SOURCE_NONE,
 							    G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::model
+	 * MPIDDevice:model:
 	 *
 	 * The device model name
 	 */
@@ -379,7 +379,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							      NULL,
 							      G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::vendor
+	 * MPIDDevice:vendor:
 	 *
 	 * The device vendor name
 	 */
@@ -391,7 +391,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							      NULL,
 							      G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::fs-uuid
+	 * MPIDDevice:fs-uuid:
 	 *
 	 * The device filesystem UUID
 	 */
@@ -403,7 +403,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							      NULL,
 							      G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::serial
+	 * MPIDDevice:serial:
 	 *
 	 * The device serial ID
 	 */
@@ -415,7 +415,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							      NULL,
 							      G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::drive-type
+	 * MPIDDevice:drive-type:
 	 *
 	 * The device drive type
 	 */
@@ -427,7 +427,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							      NULL,
 							      G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::requires-eject
+	 * MPIDDevice:requires-eject:
 	 *
 	 * If %TRUE, the device must be ejected rather than unmounted
 	 */
@@ -439,7 +439,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							       FALSE,
 							       G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::access-protocols
+	 * MPIDDevice:access-protocols:
 	 *
 	 * Names of access protocols that can be used to access the device contents
 	 */
@@ -451,7 +451,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							     G_TYPE_STRV,
 							     G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::output-formats
+	 * MPIDDevice:output-formats:
 	 *
 	 * A set of MIME types that the device can play
 	 */
@@ -463,7 +463,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							     G_TYPE_STRV,
 							     G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::input-formats
+	 * MPIDDevice:input-formats:
 	 *
 	 * A set of MIME types that the device can record
 	 */
@@ -475,7 +475,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							     G_TYPE_STRV,
 							     G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::playlist-formats
+	 * MPIDDevice:playlist-formats:
 	 *
 	 * A set of playlist format MIME types suppored by the device
 	 */
@@ -487,7 +487,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							     G_TYPE_STRV,
 							     G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::playlist-path
+	 * MPIDDevice:playlist-path:
 	 *
 	 * Path to playlist files on the device.  May include '%File' to indicate a directory
 	 * containing any number of playlist files.
@@ -500,7 +500,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							      NULL,
 							      G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::audio-folders
+	 * MPIDDevice:audio-folders:
 	 *
 	 * A set of folders (relative to the root of the device) containing audio
 	 * folders.
@@ -513,7 +513,7 @@ mpid_device_class_init (MPIDDeviceClass *klass)
 							     G_TYPE_STRV,
 							     G_PARAM_READABLE));
 	/**
-	 * MPIDDevice::folder-depth
+	 * MPIDDevice:folder-depth:
 	 *
 	 * The folder nesting level supported by the device.  -1 indicates there is no limit.
 	 */
diff --git a/metadata/rb-ext-db.c b/metadata/rb-ext-db.c
index 8169054..01ee0a0 100644
--- a/metadata/rb-ext-db.c
+++ b/metadata/rb-ext-db.c
@@ -418,7 +418,7 @@ rb_ext_db_class_init (RBExtDBClass *klass)
 	klass->store = default_store;
 
 	/**
-	 * RBExtDB:name
+	 * RBExtDB:name:
 	 *
 	 * Name of the metadata store.  Used to locate instances.
 	 */
diff --git a/rhythmdb/rhythmdb-entry-type.c b/rhythmdb/rhythmdb-entry-type.c
index 58cee5f..d71a6d1 100644
--- a/rhythmdb/rhythmdb-entry-type.c
+++ b/rhythmdb/rhythmdb-entry-type.c
@@ -294,7 +294,7 @@ rhythmdb_entry_type_class_init (RhythmDBEntryTypeClass *klass)
 	object_class->finalize = impl_finalize;
 
 	/**
-	 * RhythmDBEntryTYpe:db
+	 * RhythmDBEntryType:db:
 	 *
 	 * The #RhythmDB instance.
 	 */
@@ -307,7 +307,7 @@ rhythmdb_entry_type_class_init (RhythmDBEntryTypeClass *klass)
 							      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
 	/**
-	 * RhythmDBEntryType:name
+	 * RhythmDBEntryType:name:
 	 *
 	 * Entry type name.  This must be unique.
 	 */
@@ -320,7 +320,7 @@ rhythmdb_entry_type_class_init (RhythmDBEntryTypeClass *klass)
 							      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
 	/**
-	 * RhythmDBEntryType:save-to-disk
+	 * RhythmDBEntryType:save-to-disk:
 	 *
 	 * If %TRUE, entries of this type should be written to the
 	 * on-disk database.
@@ -333,7 +333,7 @@ rhythmdb_entry_type_class_init (RhythmDBEntryTypeClass *klass)
 							       FALSE,
 							       G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 	/**
-	 * RhythmDBEntryType:type-data-size
+	 * RhythmDBEntryType:type-data-size:
 	 *
 	 * The size of the type-specific data structure to allocate for each
 	 * entry of this type.
@@ -346,7 +346,7 @@ rhythmdb_entry_type_class_init (RhythmDBEntryTypeClass *klass)
 							    0, G_MAXUINT, 0,
 							    G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 	/**
-	 * RhythmDBEntryType:category
+	 * RhythmDBEntryType:category:
 	 *
 	 * The #RhythmDBEntryCategory that this entry type fits into.
 	 */
@@ -359,7 +359,7 @@ rhythmdb_entry_type_class_init (RhythmDBEntryTypeClass *klass)
 							    RHYTHMDB_ENTRY_NORMAL,
 							    G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 	/**
-	 * RhythmDBEntryType:has-playlists
+	 * RhythmDBEntryType:has-playlists:
 	 *
 	 * If %TRUE, entries of this type can be added to playlists.
 	 */
diff --git a/rhythmdb/rhythmdb-query.c b/rhythmdb/rhythmdb-query.c
index 294bd41..c8fbd77 100644
--- a/rhythmdb/rhythmdb-query.c
+++ b/rhythmdb/rhythmdb-query.c
@@ -910,7 +910,7 @@ rhythmdb_query_append_prop_multiple (RhythmDB *db, GPtrArray *query, RhythmDBPro
 }
 
 /**
- * rhythmdb_query_is_time_relative
+ * rhythmdb_query_is_time_relative:
  * @db: the #RhythmDB
  * @query: the query to check
  *
diff --git a/rhythmdb/rhythmdb.c b/rhythmdb/rhythmdb.c
index c1b0cb7..6c52d79 100644
--- a/rhythmdb/rhythmdb.c
+++ b/rhythmdb/rhythmdb.c
@@ -326,7 +326,7 @@ rhythmdb_class_init (RhythmDBClass *klass)
 	object_class->get_property = rhythmdb_get_property;
 
 	/**
-	 * RhythmDB:name
+	 * RhythmDB:name:
 	 *
 	 * Database name.  Not sure whta this is used for.
 	 */
@@ -338,7 +338,7 @@ rhythmdb_class_init (RhythmDBClass *klass)
 							      NULL,
 							      G_PARAM_READWRITE));
 	/**
-	 * RhythmDB:dry-run
+	 * RhythmDB:dry-run:
 	 *
 	 * If %TRUE, no metadata changes will be written back to media fies.
 	 */
@@ -350,7 +350,7 @@ rhythmdb_class_init (RhythmDBClass *klass)
 							       FALSE,
 							       G_PARAM_READWRITE));
 	/**
-	 * RhythmDB:no-update
+	 * RhythmDB:no-update:
 	 *
 	 * If %TRUE, the database will not be updated.
 	 */
diff --git a/shell/rb-playlist-manager.c b/shell/rb-playlist-manager.c
index 58434ac..20b7de4 100644
--- a/shell/rb-playlist-manager.c
+++ b/shell/rb-playlist-manager.c
@@ -2096,7 +2096,7 @@ rb_playlist_manager_class_init (RBPlaylistManagerClass *klass)
 			      G_TYPE_NONE,
 			      0, G_TYPE_NONE);
 	/**
-	 * RBPlaylistManager::load-finish
+	 * RBPlaylistManager::load-finish:
 	 * @manager: the #RBPlaylistManager
 	 *
 	 * Emitted when the playlist manager finishes loading the user's
diff --git a/shell/rb-removable-media-manager.c b/shell/rb-removable-media-manager.c
index 7571acc..95d93e3 100644
--- a/shell/rb-removable-media-manager.c
+++ b/shell/rb-removable-media-manager.c
@@ -226,7 +226,7 @@ rb_removable_media_manager_class_init (RBRemovableMediaManagerClass *klass)
 
 
 	/**
-	 * RBRemovableMediaManager::create-source-device
+	 * RBRemovableMediaManager::create-source-device:
 	 * @mgr: the #RBRemovableMediaManager
 	 * @device: the device (actually a #GUdevDevice)
 	 *
@@ -247,7 +247,7 @@ rb_removable_media_manager_class_init (RBRemovableMediaManagerClass *klass)
 			      RB_TYPE_SOURCE,
 			      1, G_TYPE_OBJECT);
 	/**
-	 * RBRemovableMediaManager::create-source-volume
+	 * RBRemovableMediaManager::create-source-volume:
 	 * @mgr: the #RBRemovableMediaManager
 	 * @volume: the #GVolume 
 	 *
@@ -270,7 +270,7 @@ rb_removable_media_manager_class_init (RBRemovableMediaManagerClass *klass)
 			      1, G_TYPE_VOLUME);
 
 	/**
-	 * RBRemovableMediaManager::create-source-mount
+	 * RBRemovableMediaManager::create-source-mount:
 	 * @mgr: the #RBRemovableMediaManager
 	 * @device_info: a #MPIDDevice containing information on the device
 	 * @mount: the #GMount
diff --git a/shell/rb-shell-player.c b/shell/rb-shell-player.c
index 030b662..1dc42c8 100644
--- a/shell/rb-shell-player.c
+++ b/shell/rb-shell-player.c
@@ -2612,7 +2612,7 @@ rb_shell_player_volume_changed_cb (RBPlayer *player,
 }
 
 /**
- * rb_shell_player_set_mute
+ * rb_shell_player_set_mute:
  * @player: the #RBShellPlayer
  * @mute: %TRUE to mute playback
  * @error: returns error information
diff --git a/shell/rb-track-transfer-batch.c b/shell/rb-track-transfer-batch.c
index 64f2f9c..de1d717 100644
--- a/shell/rb-track-transfer-batch.c
+++ b/shell/rb-track-transfer-batch.c
@@ -810,7 +810,7 @@ rb_track_transfer_batch_class_init (RBTrackTransferBatchClass *klass)
 	object_class->dispose = impl_dispose;
 
 	/**
-	 * RBTrackTransferBatch:encoding-target
+	 * RBTrackTransferBatch:encoding-target:
 	 *
 	 * A GstEncodingTarget describing allowable target formats.
 	 * If NULL, the default set of profiles will be used.
@@ -823,7 +823,7 @@ rb_track_transfer_batch_class_init (RBTrackTransferBatchClass *klass)
 								     GST_TYPE_ENCODING_TARGET,
 								     G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 	/**
-	 * RBTrackTransferBatch:source
+	 * RBTrackTransferBatch:source:
 	 *
 	 * The RBSource from which the tracks are being transferred.
 	 */
@@ -835,7 +835,7 @@ rb_track_transfer_batch_class_init (RBTrackTransferBatchClass *klass)
 							      RB_TYPE_SOURCE,
 							      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 	/**
-	 * RBTrackTransferBatch:destination
+	 * RBTrackTransferBatch:destination:
 	 *
 	 * The RBSource to which the tracks are being transferred.
 	 */
@@ -848,7 +848,7 @@ rb_track_transfer_batch_class_init (RBTrackTransferBatchClass *klass)
 							      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
 	/**
-	 * RBTrackTransferBatch:total-entries
+	 * RBTrackTransferBatch:total-entries:
 	 *
 	 * Total number of entries in the transfer batch.
 	 */
@@ -860,7 +860,7 @@ rb_track_transfer_batch_class_init (RBTrackTransferBatchClass *klass)
 							   0, G_MAXINT, 0,
 							   G_PARAM_READABLE));
 	/**
-	 * RBTrackTransferBatch:done-entries
+	 * RBTrackTransferBatch:done-entries:
 	 *
 	 * Number of entries in the batch that have been transferred.
 	 */
@@ -872,7 +872,7 @@ rb_track_transfer_batch_class_init (RBTrackTransferBatchClass *klass)
 							   0, G_MAXINT, 0,
 							   G_PARAM_READABLE));
 	/**
-	 * RBTrackTransferBatch:progress
+	 * RBTrackTransferBatch:progress:
 	 *
 	 * Fraction of the transfer batch that has been processed.
 	 */
@@ -885,7 +885,7 @@ rb_track_transfer_batch_class_init (RBTrackTransferBatchClass *klass)
 							      G_PARAM_READABLE));
 
 	/**
-	 * RBTrackTransferBatch:entry-list
+	 * RBTrackTransferBatch:entry-list:
 	 *
 	 * A list of all entries in the batch.
 	 */
diff --git a/shell/rb-track-transfer-queue.c b/shell/rb-track-transfer-queue.c
index 91d5dac..19531e9 100644
--- a/shell/rb-track-transfer-queue.c
+++ b/shell/rb-track-transfer-queue.c
@@ -738,7 +738,7 @@ rb_track_transfer_queue_class_init (RBTrackTransferQueueClass *klass)
 	object_class->dispose = impl_dispose;
 
 	/**
-	 * RBTrackTransferQueue:shell
+	 * RBTrackTransferQueue:shell:
 	 *
 	 * The #RBShell
 	 */
@@ -750,7 +750,7 @@ rb_track_transfer_queue_class_init (RBTrackTransferQueueClass *klass)
 							      RB_TYPE_SHELL,
 							      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 	/**
-	 * RBTrackTransferQueue:batch
+	 * RBTrackTransferQueue:batch:
 	 *
 	 * The current #RBTrackTransferBatch being processed
 	 */
diff --git a/sources/rb-media-player-source.c b/sources/rb-media-player-source.c
index f313629..8ea1fb2 100644
--- a/sources/rb-media-player-source.c
+++ b/sources/rb-media-player-source.c
@@ -172,7 +172,7 @@ rb_media_player_source_class_init (RBMediaPlayerSourceClass *klass)
 							      NULL,
 							      G_PARAM_READABLE));
 	/**
-	 * RBMediaPlayerSource:encoding-target
+	 * RBMediaPlayerSource:encoding-target:
 	 *
 	 * The #GstEncodingTarget for this device
 	 */
diff --git a/widgets/rb-entry-view.c b/widgets/rb-entry-view.c
index 6852c29..6866d92 100644
--- a/widgets/rb-entry-view.c
+++ b/widgets/rb-entry-view.c
@@ -377,7 +377,7 @@ rb_entry_view_class_init (RBEntryViewClass *klass)
 							     G_TYPE_STRV,
 							     G_PARAM_READWRITE));
 	/**
-	 * RBEntryView::entry-added
+	 * RBEntryView::entry-added:
 	 * @view: the #RBEntryView
 	 * @entry: the #RhythmDBEntry that was added
 	 *
@@ -459,7 +459,7 @@ rb_entry_view_class_init (RBEntryViewClass *klass)
 			      G_TYPE_NONE,
 			      0);
 	/**
-	 * RBEntryView::show-popup
+	 * RBEntryView::show-popup:
 	 * @view: the #RBEntryView
 	 * @over_entry: if TRUE, the popup request was made while pointing
 	 * at an entry in the view
diff --git a/widgets/rb-property-view.c b/widgets/rb-property-view.c
index d952a4e..b8d59b5 100644
--- a/widgets/rb-property-view.c
+++ b/widgets/rb-property-view.c
@@ -590,7 +590,7 @@ rb_property_view_post_row_deleted_cb (GtkTreeModel *model,
 }
 
 /**
- * rb_property_view_get_num_properties
+ * rb_property_view_get_num_properties:
  * @view: a #RBPropertyView
  *
  * Returns the number of property values present in the view.
diff --git a/widgets/rb-segmented-bar.c b/widgets/rb-segmented-bar.c
index 395bb3d..ebecc3e 100644
--- a/widgets/rb-segmented-bar.c
+++ b/widgets/rb-segmented-bar.c
@@ -163,7 +163,7 @@ rb_segmented_bar_class_init (RBSegmentedBarClass *klass)
 	widget_class->get_accessible = rb_segmented_bar_get_accessible;
 
         /**
-         * RBSegmentedBar::show-reflection
+         * RBSegmentedBar:show-reflection:
          *
          * Set to TRUE if you want a reflection to be shown below the segmented
 	 * bar.
@@ -177,7 +177,7 @@ rb_segmented_bar_class_init (RBSegmentedBarClass *klass)
                                                                G_PARAM_READWRITE));
 
         /**
-         * RBSegmentedBar::show-labels
+         * RBSegmentedBar:show-labels:
          *
          * Set to TRUE if you want labels describing the various segments
 	 * to be shown.
@@ -190,7 +190,7 @@ rb_segmented_bar_class_init (RBSegmentedBarClass *klass)
                                                                TRUE,
                                                                G_PARAM_READWRITE));
         /**
-         * RBSegmentedBar::bar-height
+         * RBSegmentedBar:bar-height:
          *
          * Height of the segmented bar
          */



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