diff options
author | Ted Gould <ted@gould.cx> | 2012-03-30 15:18:44 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-03-30 15:18:44 -0500 |
commit | c050eb6d3b6dd9e6aaa297ed5354036c9845230e (patch) | |
tree | eebc63d97d9d94b30f64e51e10975a862e14f54a /libdbusmenu-glib | |
parent | f99993dcaa21a84d5cb7c8bf91796d73c169a58f (diff) | |
download | libdbusmenu-c050eb6d3b6dd9e6aaa297ed5354036c9845230e.tar.gz libdbusmenu-c050eb6d3b6dd9e6aaa297ed5354036c9845230e.tar.bz2 libdbusmenu-c050eb6d3b6dd9e6aaa297ed5354036c9845230e.zip |
Putting a warning in dispose for something we shouldn't have to do
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index 1bc60a6..1e67a65 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -409,6 +409,7 @@ dbusmenu_client_dispose (GObject *object) } if (priv->events_to_go != NULL) { + g_warning("Getting to client dispose with events pending. This is odd. Probably there's a ref count problem somewhere, but we're going to be cool about it now and clean up. But there's probably a bug."); GError * error = g_error_new_literal(error_domain(), 1, "Client disposed before event signal returned"); g_list_foreach(priv->events_to_go, (GFunc)event_data_end, error); g_list_free(priv->events_to_go); |