[gtranslator] Remove _gtk_msg_[gs]et_row_reference()



commit 9df29d2003db5d68633f95c38cd955d38f6e3d5f
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Apr 22 23:10:43 2012 +0200

    Remove _gtk_msg_[gs]et_row_reference()
    
    That's unused code now

 src/gtr-msg.c |   32 --------------------------------
 src/gtr-msg.h |    5 -----
 2 files changed, 0 insertions(+), 37 deletions(-)
---
diff --git a/src/gtr-msg.c b/src/gtr-msg.c
index 1f6a1e6..08fb34b 100644
--- a/src/gtr-msg.c
+++ b/src/gtr-msg.c
@@ -48,8 +48,6 @@ struct _GtrMsgPrivate
 
   GtrMsgStatus status;
 
-  GtkTreeRowReference *row_reference;
-
   gint po_position;
 };
 
@@ -171,36 +169,6 @@ _gtr_msg_set_message (GtrMsg * msg, po_message_t message)
 }
 
 /**
- * gtr_msg_get_row_reference:
- * @msg: a #GtrMsg
- *
- * Returns: the #GtkTreeRowReference corresponding to the message's place
- * in the message table
- */
-GtkTreeRowReference *
-_gtr_msg_get_row_reference (GtrMsg * msg)
-{
-  g_return_val_if_fail (GTR_IS_MSG (msg), NULL);
-
-  return msg->priv->row_reference;
-}
-
-/**
- * _gtr_msg_set_row_reference:
- * @msg: a #GtrMsg
- * @row_reference: the GtkTreeRowReference corresponding to position in the message table
- *
- * Sets the GtkTreeRowReference from the messages table for the given message
- **/
-void
-_gtr_msg_set_row_reference (GtrMsg * msg, GtkTreeRowReference * row_reference)
-{
-  g_return_if_fail (GTR_IS_MSG (msg));
-
-  msg->priv->row_reference = row_reference;
-}
-
-/**
  * gtr_msg_is_translated:
  * @msg: a #GtrMsg
  *
diff --git a/src/gtr-msg.h b/src/gtr-msg.h
index e06fe0d..9183fc1 100644
--- a/src/gtr-msg.h
+++ b/src/gtr-msg.h
@@ -123,10 +123,5 @@ po_message_t              _gtr_msg_get_message              (GtrMsg
 void                      _gtr_msg_set_message              (GtrMsg               *msg,
                                                              po_message_t          message);
 
-GtkTreeRowReference      *_gtr_msg_get_row_reference        (GtrMsg               *msg);
-
-void                      _gtr_msg_set_row_reference        (GtrMsg               *msg,
-                                                             GtkTreeRowReference  *row_reference);
-
 G_END_DECLS
 #endif /* __GTR_MSG_H__ */



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