summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-08 13:03:59 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-08 17:40:18 +0100
commite7aea65314998512931f7988bea3babc0a548776 (patch)
tree05b7032882c9d2f65ef5c4052587fa7db4570424
parenta307cc9bbac1a7943b44a46813df0986731759a2 (diff)
mcd_debug_ref, mcd_debug_unref: remove
They're officially deprecated and everything!
-rw-r--r--src/mcd-debug.c16
-rw-r--r--src/mcd-debug.h5
2 files changed, 0 insertions, 21 deletions
diff --git a/src/mcd-debug.c b/src/mcd-debug.c
index 350299bc..c16b1da9 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 bf2cc477..66fdafcc 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, ...);