[gtk+] im context thai: Stop using gdk_beep



commit 9d9674a7ca91947edfb79eea9d58c2840925708c
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Nov 16 22:09:44 2017 -0500

    im context thai: Stop using gdk_beep
    
    It is about to go away.

 modules/input/gtkimcontextthai.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/input/gtkimcontextthai.c b/modules/input/gtkimcontextthai.c
index 8275333..3c8aa75 100644
--- a/modules/input/gtkimcontextthai.c
+++ b/modules/input/gtkimcontextthai.c
@@ -340,7 +340,7 @@ gtk_im_context_thai_filter_keypress (GtkIMContext *context,
   if (is_reject)
     {
       /* reject character */
-      gdk_beep ();
+      gdk_display_beep (gdk_event_get_display ((GdkEvent*)event));
     }
   return TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]