forked from AuroraMiddleware/gtk
Add an informative g_warning() when the entry has lost a focus-out-event.
Wed Jun 12 17:46:53 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (blink_cb): Add an informative g_warning() when the entry has lost a focus-out-event. (#78305, Michel Selten)
This commit is contained in:
parent
789d271164
commit
c50b3edfdc
@ -1,3 +1,9 @@
|
||||
Wed Jun 12 17:46:53 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (blink_cb): Add an informative
|
||||
g_warning() when the entry has lost a focus-out-event.
|
||||
(#78305, Michel Selten)
|
||||
|
||||
Wed Jun 12 17:31:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Jun 12 17:46:53 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (blink_cb): Add an informative
|
||||
g_warning() when the entry has lost a focus-out-event.
|
||||
(#78305, Michel Selten)
|
||||
|
||||
Wed Jun 12 17:31:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Jun 12 17:46:53 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (blink_cb): Add an informative
|
||||
g_warning() when the entry has lost a focus-out-event.
|
||||
(#78305, Michel Selten)
|
||||
|
||||
Wed Jun 12 17:31:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Jun 12 17:46:53 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (blink_cb): Add an informative
|
||||
g_warning() when the entry has lost a focus-out-event.
|
||||
(#78305, Michel Selten)
|
||||
|
||||
Wed Jun 12 17:31:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Jun 12 17:46:53 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (blink_cb): Add an informative
|
||||
g_warning() when the entry has lost a focus-out-event.
|
||||
(#78305, Michel Selten)
|
||||
|
||||
Wed Jun 12 17:31:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Jun 12 17:46:53 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (blink_cb): Add an informative
|
||||
g_warning() when the entry has lost a focus-out-event.
|
||||
(#78305, Michel Selten)
|
||||
|
||||
Wed Jun 12 17:31:15 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
|
||||
|
@ -4199,6 +4199,13 @@ blink_cb (gpointer data)
|
||||
GDK_THREADS_ENTER ();
|
||||
|
||||
entry = GTK_ENTRY (data);
|
||||
|
||||
if (!GTK_WIDGET_HAS_FOCUS (entry))
|
||||
{
|
||||
g_warning ("GtkEntry - did not receive focus-out-event. If you\n"
|
||||
"connect a handler to this signal, it must return\n"
|
||||
"FALSE so the entry gets the event as well");
|
||||
}
|
||||
|
||||
g_assert (GTK_WIDGET_HAS_FOCUS (entry));
|
||||
g_assert (entry->selection_bound == entry->current_pos);
|
||||
|
Loading…
Reference in New Issue
Block a user