Patch to remove redundant code
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: gtk-devel-list gnome org
- Subject: Patch to remove redundant code
- Date: Thu, 31 Jan 2002 09:09:41 +0000 (GMT)
I noticed a couple of redundant lines in gtk_widget_send_expose().
Permission to commit?
Padraig
Index: gtkwidget.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkwidget.c,v
retrieving revision 1.293
diff -u -p -r1.293 gtkwidget.c
--- gtkwidget.c 2002/01/30 03:32:13 1.293
+++ gtkwidget.c 2002/01/31 08:55:42
@@ -2959,9 +2959,6 @@ gtk_widget_send_expose (GtkWidget *widge
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]