telepathy-mission-control: mcd_debug_ref, mcd_debug_unref: remove

Simon McVittie smcv at kemper.freedesktop.org
Thu May 10 08:15:16 PDT 2012


Module: telepathy-mission-control
Branch: master
Commit: e7aea65314998512931f7988bea3babc0a548776
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=e7aea65314998512931f7988bea3babc0a548776

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue May  8 13:03:59 2012 +0100

mcd_debug_ref, mcd_debug_unref: remove

They're officially deprecated and everything!

---

 src/mcd-debug.c |   16 ----------------
 src/mcd-debug.h |    5 -----
 2 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/src/mcd-debug.c b/src/mcd-debug.c
index 350299b..c16b1da 100644
--- a/src/mcd-debug.c
+++ b/src/mcd-debug.c
@@ -50,22 +50,6 @@
 
 gint mcd_debug_level = 0;
 
-gpointer
-mcd_debug_ref (gpointer obj,
-               const gchar *filename G_GNUC_UNUSED,
-               gint linenum G_GNUC_UNUSED)
-{
-    return g_object_ref (obj);
-}
-
-void
-mcd_debug_unref (gpointer obj,
-                 const gchar *filename G_GNUC_UNUSED,
-                 gint linenum G_GNUC_UNUSED)
-{
-    g_object_unref (obj);
-}
-
 static void
 mcd_debug_print_tree_real (gpointer object, gint level)
 {
diff --git a/src/mcd-debug.h b/src/mcd-debug.h
index bf2cc47..66fdafc 100644
--- a/src/mcd-debug.h
+++ b/src/mcd-debug.h
@@ -57,11 +57,6 @@ static inline gint _mcd_debug_get_level (void)
     return mcd_debug_level;
 }
 
-gpointer mcd_debug_ref (gpointer obj, const gchar *filename, gint linenum)
-    G_GNUC_DEPRECATED;
-void mcd_debug_unref (gpointer obj, const gchar *filename, gint linenum)
-    G_GNUC_DEPRECATED;
-
 void mcd_debug_print_tree (gpointer obj);
 
 void mcd_debug (const gchar *format, ...);



More information about the telepathy-commits mailing list