diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-09-11 22:54:32 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-09-11 22:54:32 +0200 |
commit | a1e17dc938c7feb2098b858dd5f10392b9010cb8 (patch) | |
tree | dc1e732d6c3c9eb641c7854e502b3fae63dd566b /src | |
parent | 3bb2a5cbc5a8373f8558fbe054d9e4ad9532feb8 (diff) |
gtk-module: clean up debug logging
Diffstat (limited to 'src')
-rw-r--r-- | src/canberra-gtk-module.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/canberra-gtk-module.c b/src/canberra-gtk-module.c index bee7403..a2dcffd 100644 --- a/src/canberra-gtk-module.c +++ b/src/canberra-gtk-module.c @@ -680,8 +680,6 @@ static void dispatch_queue(void) { if (!(d = filter_sound_event(d))) continue; -/* g_message("Dispatching signal %s on %s", g_signal_name(d->signal_id), g_type_name(G_OBJECT_TYPE(d->object))); */ - dispatch_sound_event(d); free_sound_event(d); } @@ -709,6 +707,17 @@ static gboolean emission_hook_cb(GSignalInvocationHint *hint, guint n_param_valu object = g_value_get_object(¶m_values[0]); + /* g_message("signal '%s' on object of type '%s' with name '%s'", */ + /* g_signal_name(hint->signal_id), */ + /* G_OBJECT_TYPE_NAME(object), */ + /* gtk_widget_get_name(GTK_WIDGET(object))); */ + + /* if (GTK_IS_WINDOW(object)) */ + /* g_message("window role='%s' title='%s' type='%u'", */ + /* gtk_window_get_role(GTK_WINDOW(object)), */ + /* gtk_window_get_title(GTK_WINDOW(object)), */ + /* gtk_window_get_type_hint(GTK_WINDOW(object))); */ + /* Filter a few very often occuring signals as quickly as possible */ if ((hint->signal_id == signal_id_widget_hide || hint->signal_id == signal_id_widget_show || @@ -721,8 +730,6 @@ static gboolean emission_hook_cb(GSignalInvocationHint *hint, guint n_param_valu !GTK_WIDGET_DRAWABLE(object)) return TRUE; -/* g_message("signal %s on %s", g_signal_name(hint->signal_id), g_type_name(G_OBJECT_TYPE(object))); */ - d = g_slice_new0(SoundEventData); d->object = g_object_ref(object); |