gtksettings: Remove leftover code

The immodule variable is unused
This commit is contained in:
Carlos Garnacho 2018-02-16 19:25:15 +01:00
parent ad776cc57b
commit f64c32113a

View File

@ -1176,8 +1176,6 @@ gtk_settings_create_for_display (GdkDisplay *display)
#ifdef GDK_WINDOWING_WAYLAND
if (GDK_IS_WAYLAND_DISPLAY (display))
{
const gchar *immodule = NULL;
if (gdk_wayland_display_query_registry (display,
"gtk_text_input_manager"))
{
@ -1192,9 +1190,6 @@ gtk_settings_create_for_display (GdkDisplay *display)
*/
settings = g_object_new (GTK_TYPE_SETTINGS, NULL);
}
immodule = "wayland";
}
else
#endif