Remove redundant check. Pointed out by Bodo-Merle Sandor.

2006-02-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant
	check.  Pointed out by Bodo-Merle Sandor.
This commit is contained in:
Matthias Clasen 2006-02-14 14:35:07 +00:00 committed by Matthias Clasen
parent b58d9cdc85
commit 2540f8298b
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2006-02-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant
check. Pointed out by Bodo-Merle Sandor.
* gtk/gtkcolorbutton.c (gtk_color_button_[un]realize):
Remove unnecessary checks.

View File

@ -1,5 +1,8 @@
2006-02-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant
check. Pointed out by Bodo-Merle Sandor.
* gtk/gtkcolorbutton.c (gtk_color_button_[un]realize):
Remove unnecessary checks.

View File

@ -3585,9 +3585,6 @@ gtk_widget_send_expose (GtkWidget *widget,
g_return_val_if_fail (event != NULL, TRUE);
g_return_val_if_fail (event->type == GDK_EXPOSE, TRUE);
if (event->type != GDK_EXPOSE)
return TRUE;
return gtk_widget_event_internal (widget, event);
}