user-accounts: replace deprecated gtk_widget_get_state
https://bugzilla.gnome.org/show_bug.cgi?id=731271
This commit is contained in:
parent
9b4fcd6266
commit
06367651d7
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ popup_button_draw (GtkWidget *widget,
|
|||
cairo_t *cr,
|
||||
UmPhotoDialog *um)
|
||||
{
|
||||
if (gtk_widget_get_state (gtk_bin_get_child (GTK_BIN (widget))) != GTK_STATE_PRELIGHT &&
|
||||
if (!(gtk_widget_get_state_flags (gtk_bin_get_child (GTK_BIN (widget))) & GTK_STATE_FLAG_PRELIGHT) &&
|
||||
!gtk_widget_is_focus (widget)) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue