*/
return FALSE;
- if (!GTK_WIDGET_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);
gail_combo_box->action_idle_handler = 0;
widget = GTK_ACCESSIBLE (gail_combo_box)->widget;
if (widget == NULL || /* State is defunct */
- !GTK_WIDGET_SENSITIVE (widget) || !GTK_WIDGET_VISIBLE (widget))
+ !gtk_widget_get_sensitive (widget) || !gtk_widget_get_visible (widget))
return FALSE;
combo_box = GTK_COMBO_BOX (widget);
{
GailComboBox *combo_box;
gchar *return_value = NULL;
- combo_box = GAIL_COMBO_BOX (action);
switch (i)
{
case 0:
{
- GtkWidget *widget;
+ GtkWidget *widget;
GtkWidget *label;
AtkRelationSet *set;
- AtkRelation *relation;
+ AtkRelation *relation;
GPtrArray *target;
gpointer target_object;
guint key_val;
widget = GTK_ACCESSIBLE (combo_box)->widget;
if (widget == NULL)
return NULL;
- set = atk_object_ref_relation_set (ATK_OBJECT (action));
+ set = atk_object_ref_relation_set (ATK_OBJECT (action));
if (!set)
return NULL;
label = NULL;
{
label = GTK_ACCESSIBLE (target_object)->widget;
}
- }
+ }
g_object_unref (set);
if (GTK_IS_LABEL (label))
{
}
g_free (combo_box->press_keybinding);
combo_box->press_keybinding = return_value;
- break; }
+ break;
+ }
default:
break;
}