diff options
author | Benjamin Otte <otte@redhat.com> | 2017-10-31 08:23:07 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-10-31 08:25:37 +0100 |
commit | ccd52a410e2f1af3286d61b8e47dd4e2e36643ab (patch) | |
tree | 7cf0fa961c65e6aa61bcbf2f42b6cd1894843721 /gtk/gtkimcontextsimple.c | |
parent | 648d0403952cd4f50cf43c56d91ec281c8d3a75c (diff) | |
download | gtk+-ccd52a410e2f1af3286d61b8e47dd4e2e36643ab.tar.gz |
settings: Remove gtk_settings_get_for_screen()
All users of it are gone now.
Diffstat (limited to 'gtk/gtkimcontextsimple.c')
-rw-r--r-- | gtk/gtkimcontextsimple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index 06bdfb4160..ce3accb617 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -1017,10 +1017,10 @@ check_emoji (GtkIMContextSimple *context_simple, static void beep_window (GdkWindow *window) { - GdkScreen *screen = gdk_window_get_screen (window); + GdkDisplay *display = gdk_window_get_display (window); gboolean beep; - g_object_get (gtk_settings_get_for_screen (screen), + g_object_get (gtk_settings_get_for_display (display), "gtk-error-bell", &beep, NULL); |