empathy r1887 - trunk/libempathy



Author: xclaesse
Date: Fri Nov 21 16:23:30 2008
New Revision: 1887
URL: http://svn.gnome.org/viewvc/empathy?rev=1887&view=rev

Log:
Remove unused empathy_tp_file_get_id

Modified:
   trunk/libempathy/empathy-tp-file.c
   trunk/libempathy/empathy-tp-file.h

Modified: trunk/libempathy/empathy-tp-file.c
==============================================================================
--- trunk/libempathy/empathy-tp-file.c	(original)
+++ trunk/libempathy/empathy-tp-file.c	Fri Nov 21 16:23:30 2008
@@ -275,7 +275,6 @@
 
 struct _EmpathyTpFilePriv {
   EmpathyContactFactory *factory;
-  gchar *id;
   MissionControl *mc;
   TpChannel *channel;
 
@@ -366,7 +365,6 @@
       g_object_unref (tp_file->priv->mc);
     }
 
-  g_free (tp_file->priv->id);
   g_free (tp_file->priv->filename);
   g_free (tp_file->priv->unix_socket_path);
   g_free (tp_file->priv->description);
@@ -685,22 +683,6 @@
 }
 
 /**
- * empathy_tp_file_get_id:
- * @tp_file: an #EmpathyTpFile
- *
- * Returns the ID of @tp_file.
- *
- * Returns: the ID
- */
-const gchar *
-empathy_tp_file_get_id (EmpathyTpFile *tp_file)
-{
-  g_return_val_if_fail (EMPATHY_IS_TP_FILE (tp_file), NULL);
-
-  return tp_file->priv->id;
-}
-
-/**
  * empathy_tp_file_get_channel
  * @tp_file: an #EmpathyTpFile
  *

Modified: trunk/libempathy/empathy-tp-file.h
==============================================================================
--- trunk/libempathy/empathy-tp-file.h	(original)
+++ trunk/libempathy/empathy-tp-file.h	Fri Nov 21 16:23:30 2008
@@ -73,7 +73,6 @@
 void empathy_tp_file_offer (EmpathyTpFile *tp_file, GFile *gfile,
   GError **error);
 
-const gchar *empathy_tp_file_get_id (EmpathyTpFile *tp_file);
 guint64 empathy_tp_file_get_transferred_bytes (EmpathyTpFile *tp_file);
 EmpathyContact *empathy_tp_file_get_contact (EmpathyTpFile *tp_file);
 const gchar *empathy_tp_file_get_filename (EmpathyTpFile *tp_file);



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