forked from AuroraMiddleware/gtk
gtksettings: Remove leftover code
The immodule variable is unused
This commit is contained in:
parent
ad776cc57b
commit
f64c32113a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user