egg-list-box: Remove redundant check
A ChildInfo's widget should never be NULL. https://bugzilla.gnome.org/show_bug.cgi?id=691979
This commit is contained in:
parent
f72c0e70d2
commit
f6ed22716b
1 changed files with 1 additions and 2 deletions
|
@ -854,8 +854,7 @@ egg_list_box_real_button_press_event (GtkWidget *widget,
|
|||
priv->active_child_active = TRUE;
|
||||
gtk_widget_queue_draw (GTK_WIDGET (list_box));
|
||||
if (event->type == GDK_2BUTTON_PRESS &&
|
||||
!priv->activate_single_click &&
|
||||
child->widget != NULL)
|
||||
!priv->activate_single_click)
|
||||
g_signal_emit (list_box, signals[CHILD_ACTIVATED], 0,
|
||||
child->widget);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue