summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2008-06-30 16:42:19 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-06-30 16:42:19 +0000
commit0ef47a44c16b5b76bb3068f33513db7ba16e7750 (patch)
tree4690ac487300fd2ae64bfd8b75ce49a0a0645d29
parent91b5f24da8f31390a891b1457dc2fd08d11632b5 (diff)
downloadmetacity-0ef47a44c16b5b76bb3068f33513db7ba16e7750.tar.gz
2008-06-30 Thomas Thurman <tthurman@gnome.org
* src/core/bell.c (meta_bell_set_audible): Fix typo that slipped through. svn path=/trunk/; revision=3778
-rw-r--r--ChangeLog5
-rw-r--r--src/core/bell.c10
2 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b97baeda..c7d68dd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-30 Thomas Thurman <tthurman@gnome.org
+
+ * src/core/bell.c (meta_bell_set_audible): Fix typo that
+ slipped through.
+
2008-06-30 Thomas Thurman <tthurman@gnome.org>
* src/core/bell.[ch]: Move comments for non-statics from the .c to .h.
diff --git a/src/core/bell.c b/src/core/bell.c
index a3baee6a..1b6022c8 100644
--- a/src/core/bell.c
+++ b/src/core/bell.c
@@ -283,7 +283,7 @@ meta_bell_notify (MetaDisplay *display,
}
#endif /* HAVE_XKB */
-metavoid
+void
meta_bell_set_audible (MetaDisplay *display, gboolean audible)
{
#ifdef HAVE_XKB
@@ -347,6 +347,14 @@ meta_bell_shutdown (MetaDisplay *display)
#endif
}
+/**
+ * Deals with a frame being destroyed. This is important because if we're
+ * using a visual bell, we might be flashing the edges of the frame, and
+ * so we'd have a timeout function waiting ready to un-flash them. If the
+ * frame's going away, we can tell the timeout not to bother.
+ *
+ * \param frame The frame which is being destroyed
+ */
void
meta_bell_notify_frame_destroy (MetaFrame *frame)
{