Commit b6714d9a authored by Tim Janik's avatar Tim Janik Committed by Tim Janik
Browse files

added an assertement.

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

        * gtk/gtkmain.c (gtk_propagate_event): added an assertement.
parent 05e714d6
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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))
......
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