[brasero] Remove useless private API
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Subject: [brasero] Remove useless private API
- Date: Fri, 10 Jul 2009 14:04:01 +0000 (UTC)
commit 77f5d05e497e1b308430224ac132597b37899f33
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed Jul 8 20:22:24 2009 +0200
Remove useless private API
libbrasero-media/brasero-drive.c | 6 ------
libbrasero-media/brasero-volume.c | 19 -------------------
2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/libbrasero-media/brasero-drive.c b/libbrasero-media/brasero-drive.c
index 60c519a..379937e 100644
--- a/libbrasero-media/brasero-drive.c
+++ b/libbrasero-media/brasero-drive.c
@@ -109,12 +109,6 @@ G_DEFINE_TYPE (BraseroDrive, brasero_drive, G_TYPE_OBJECT);
#define BRASERO_DRIVE_OPEN_ATTEMPTS 5
/**
- * This is private API. The function is defined in brasero-volume.c
- */
-BraseroVolume *
-brasero_volume_new (BraseroDrive *drive, const gchar *udi);
-
-/**
* brasero_drive_get_gdrive:
* @drive: a #BraseroDrive
*
diff --git a/libbrasero-media/brasero-volume.c b/libbrasero-media/brasero-volume.c
index 6de7014..e7a8890 100644
--- a/libbrasero-media/brasero-volume.c
+++ b/libbrasero-media/brasero-volume.c
@@ -459,22 +459,3 @@ brasero_volume_class_init (BraseroVolumeClass *klass)
object_class->finalize = brasero_volume_finalize;
}
-
-/**
- * This is private API defined in brasero-drive.c
- */
-
-BraseroVolume *
-brasero_volume_new (BraseroDrive *drive,
- const gchar *udi)
-{
- BraseroVolume *volume;
-
- g_return_val_if_fail (drive != NULL, NULL);
- volume = g_object_new (BRASERO_TYPE_VOLUME,
- "drive", drive,
- "udi", udi,
- NULL);
-
- return volume;
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]