xed-highlight-mode-selector.c: Fix a couple of missing casts
This commit is contained in:
parent
7e6a888e1d
commit
a71e7eea3a
|
@ -244,13 +244,13 @@ static void
|
||||||
on_entry_realized (GtkWidget *entry,
|
on_entry_realized (GtkWidget *entry,
|
||||||
XedHighlightModeSelector *selector)
|
XedHighlightModeSelector *selector)
|
||||||
{
|
{
|
||||||
if (gtk_widget_is_focus (selector))
|
if (gtk_widget_is_focus (GTK_WIDGET (selector)))
|
||||||
{
|
{
|
||||||
gtk_widget_grab_focus (entry);
|
gtk_widget_grab_focus (entry);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
gtk_widget_grab_focus (selector);
|
gtk_widget_grab_focus (GTK_WIDGET (selector));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue