mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 21:20:09 +00:00
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:
parent
05e714d6d1
commit
b6714d9ad1
@ -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>
|
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktext.c (text_properties_equal): Fixed
|
* gtk/gtktext.c (text_properties_equal): Fixed
|
||||||
|
@ -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>
|
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktext.c (text_properties_equal): Fixed
|
* gtk/gtktext.c (text_properties_equal): Fixed
|
||||||
|
@ -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>
|
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktext.c (text_properties_equal): Fixed
|
* gtk/gtktext.c (text_properties_equal): Fixed
|
||||||
|
@ -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>
|
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktext.c (text_properties_equal): Fixed
|
* gtk/gtktext.c (text_properties_equal): Fixed
|
||||||
|
@ -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>
|
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktext.c (text_properties_equal): Fixed
|
* gtk/gtktext.c (text_properties_equal): Fixed
|
||||||
|
@ -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>
|
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktext.c (text_properties_equal): Fixed
|
* gtk/gtktext.c (text_properties_equal): Fixed
|
||||||
|
@ -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>
|
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktext.c (text_properties_equal): Fixed
|
* gtk/gtktext.c (text_properties_equal): Fixed
|
||||||
|
@ -1201,6 +1201,7 @@ gtk_propagate_event (GtkWidget *widget,
|
|||||||
gint handled_event;
|
gint handled_event;
|
||||||
|
|
||||||
g_return_if_fail (widget != NULL);
|
g_return_if_fail (widget != NULL);
|
||||||
|
g_return_if_fail (GTK_IS_WIDGET (widget));
|
||||||
g_return_if_fail (event != NULL);
|
g_return_if_fail (event != NULL);
|
||||||
|
|
||||||
handled_event = FALSE;
|
handled_event = FALSE;
|
||||||
@ -1215,7 +1216,7 @@ gtk_propagate_event (GtkWidget *widget,
|
|||||||
*/
|
*/
|
||||||
GtkWidget *window;
|
GtkWidget *window;
|
||||||
|
|
||||||
window = gtk_widget_get_ancestor (widget, gtk_window_get_type ());
|
window = gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW);
|
||||||
if (window)
|
if (window)
|
||||||
{
|
{
|
||||||
if (GTK_WIDGET_IS_SENSITIVE (window))
|
if (GTK_WIDGET_IS_SENSITIVE (window))
|
||||||
|
Loading…
Reference in New Issue
Block a user