Commit 2540f829 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

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.
parent b58d9cdc
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.
......
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.
......
......@@ -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);
}
......
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