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:
Javier Jardón
2010-03-01 07:47:38 +01:00
parent 4232115e22
commit 214a023e91
120 changed files with 529 additions and 502 deletions

View File

@ -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);