Commit 06f77286 authored by Daniel Boles's avatar Daniel Boles

ComboBox: rm pointless var in get_popup_accessible

parent e5b63759
......@@ -4683,21 +4683,17 @@ gtk_combo_box_get_popup_fixed_width (GtkComboBox *combo_box)
*
* Since: 2.6
*/
AtkObject*
AtkObject *
gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box)
{
GtkComboBoxPrivate *priv;
AtkObject *atk_obj;
g_return_val_if_fail (GTK_IS_COMBO_BOX (combo_box), NULL);
priv = combo_box->priv;
if (priv->popup_widget)
{
atk_obj = gtk_widget_get_accessible (priv->popup_widget);
return atk_obj;
}
return gtk_widget_get_accessible (priv->popup_widget);
return NULL;
}
......
......@@ -182,7 +182,7 @@ void gtk_combo_box_popup_for_device (GtkComboBox *combo_box,
GDK_AVAILABLE_IN_ALL
void gtk_combo_box_popdown (GtkComboBox *combo_box);
GDK_AVAILABLE_IN_ALL
AtkObject* gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box);
AtkObject * gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box);
GDK_AVAILABLE_IN_ALL
gint gtk_combo_box_get_id_column (GtkComboBox *combo_box);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment