[gtk/gtk-3-24] gtksettings: Remove leftover code
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24] gtksettings: Remove leftover code
- Date: Sat, 21 Jul 2018 12:57:18 +0000 (UTC)
commit eb3fd5e941ae078d21d130f5f3de33871b4e939e
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Feb 16 19:25:15 2018 +0100
gtksettings: Remove leftover code
The immodule variable is unused
gtk/gtksettings.c | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 09803245d0..08e16f074a 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1906,8 +1906,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"))
{
@@ -1922,9 +1920,6 @@ gtk_settings_create_for_display (GdkDisplay *display)
*/
settings = g_object_new (GTK_TYPE_SETTINGS, NULL);
}
-
- immodule = "wayland";
-
}
else
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]