Deprecate widget flag: GTK_WIDGET_VISIBLE
Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
This commit is contained in:
@ -284,7 +284,7 @@ gail_combo_box_do_action (AtkAction *action,
|
||||
*/
|
||||
return FALSE;
|
||||
|
||||
if (!gtk_widget_get_sensitive (widget) || !GTK_WIDGET_VISIBLE (widget))
|
||||
if (!gtk_widget_get_sensitive (widget) || !gtk_widget_get_visible (widget))
|
||||
return FALSE;
|
||||
|
||||
combo_box = GAIL_COMBO_BOX (action);
|
||||
@ -313,7 +313,7 @@ idle_do_action (gpointer data)
|
||||
gail_combo_box->action_idle_handler = 0;
|
||||
widget = GTK_ACCESSIBLE (gail_combo_box)->widget;
|
||||
if (widget == NULL || /* State is defunct */
|
||||
!gtk_widget_get_sensitive (widget) || !GTK_WIDGET_VISIBLE (widget))
|
||||
!gtk_widget_get_sensitive (widget) || !gtk_widget_get_visible (widget))
|
||||
return FALSE;
|
||||
|
||||
combo_box = GTK_COMBO_BOX (widget);
|
||||
|
||||
Reference in New Issue
Block a user