added an assertement.

1999-01-11  Tim Janik  <timj@gtk.org>

        * gtk/gtkmain.c (gtk_propagate_event): added an assertement.
This commit is contained in:
Tim Janik 1999-01-11 06:35:41 +00:00 committed by Tim Janik
parent 05e714d6d1
commit b6714d9ad1
8 changed files with 30 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1999-01-11 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_propagate_event): added an assertement.
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
* gtk/gtktext.c (text_properties_equal): Fixed

View File

@ -1,3 +1,7 @@
1999-01-11 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_propagate_event): added an assertement.
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
* gtk/gtktext.c (text_properties_equal): Fixed

View File

@ -1,3 +1,7 @@
1999-01-11 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_propagate_event): added an assertement.
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
* gtk/gtktext.c (text_properties_equal): Fixed

View File

@ -1,3 +1,7 @@
1999-01-11 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_propagate_event): added an assertement.
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
* gtk/gtktext.c (text_properties_equal): Fixed

View File

@ -1,3 +1,7 @@
1999-01-11 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_propagate_event): added an assertement.
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
* gtk/gtktext.c (text_properties_equal): Fixed

View File

@ -1,3 +1,7 @@
1999-01-11 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_propagate_event): added an assertement.
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
* gtk/gtktext.c (text_properties_equal): Fixed

View File

@ -1,3 +1,7 @@
1999-01-11 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_propagate_event): added an assertement.
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
* gtk/gtktext.c (text_properties_equal): Fixed

View File

@ -1201,6 +1201,7 @@ gtk_propagate_event (GtkWidget *widget,
gint handled_event;
g_return_if_fail (widget != NULL);
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (event != NULL);
handled_event = FALSE;
@ -1215,7 +1216,7 @@ gtk_propagate_event (GtkWidget *widget,
*/
GtkWidget *window;
window = gtk_widget_get_ancestor (widget, gtk_window_get_type ());
window = gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW);
if (window)
{
if (GTK_WIDGET_IS_SENSITIVE (window))