[gtk/a11y/component] fixup: Silence compiler warnings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/a11y/component] fixup: Silence compiler warnings
- Date: Wed, 14 Oct 2020 12:19:58 +0000 (UTC)
commit 36284c2d9d3bcb0aaa60a71dec2765a8692b0b88
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Oct 14 08:19:37 2020 -0400
fixup: Silence compiler warnings
gtk/gtkentry.c | 1 +
gtk/gtkpasswordentry.c | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 532d3896fe..72fd3415fe 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -353,6 +353,7 @@ gtk_entry_accessible_get_platform_state (GtkAccessible *self,
return gtk_widget_get_focusable (GTK_WIDGET (priv->text));
case GTK_ACCESSIBLE_PLATFORM_STATE_FOCUSED:
return gtk_widget_has_focus (GTK_WIDGET (priv->text));
+ case GTK_ACCESSIBLE_PLATFORM_STATE_SIZE:
default:
g_assert_not_reached ();
}
diff --git a/gtk/gtkpasswordentry.c b/gtk/gtkpasswordentry.c
index e6658ecf2e..e02a23d941 100644
--- a/gtk/gtkpasswordentry.c
+++ b/gtk/gtkpasswordentry.c
@@ -502,6 +502,7 @@ gtk_password_entry_accessible_get_platform_state (GtkAccessible *se
return gtk_widget_get_focusable (GTK_WIDGET (entry->entry));
case GTK_ACCESSIBLE_PLATFORM_STATE_FOCUSED:
return gtk_widget_has_focus (GTK_WIDGET (entry->entry));
+ case GTK_ACCESSIBLE_PLATFORM_STATE_SIZE:
default:
g_assert_not_reached ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]