forked from AuroraMiddleware/gtk
Silently do nothing when recipient is NULL, as described in the doc
Tue Oct 28 09:44:16 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently do nothing when recipient is NULL, as described in the doc comment. (#123107, Thomas Leonard)
This commit is contained in:
parent
e4a657251f
commit
5f9345d829
@ -1,3 +1,9 @@
|
||||
Tue Oct 28 09:44:16 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently
|
||||
do nothing when recipient is NULL, as described in the
|
||||
doc comment. (#123107, Thomas Leonard)
|
||||
|
||||
Tue Oct 28 09:21:29 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_check_version): Move docs inline,
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Oct 28 09:44:16 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently
|
||||
do nothing when recipient is NULL, as described in the
|
||||
doc comment. (#123107, Thomas Leonard)
|
||||
|
||||
Tue Oct 28 09:21:29 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_check_version): Move docs inline,
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Oct 28 09:44:16 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently
|
||||
do nothing when recipient is NULL, as described in the
|
||||
doc comment. (#123107, Thomas Leonard)
|
||||
|
||||
Tue Oct 28 09:21:29 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_check_version): Move docs inline,
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Oct 28 09:44:16 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently
|
||||
do nothing when recipient is NULL, as described in the
|
||||
doc comment. (#123107, Thomas Leonard)
|
||||
|
||||
Tue Oct 28 09:21:29 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_check_version): Move docs inline,
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Oct 28 09:44:16 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently
|
||||
do nothing when recipient is NULL, as described in the
|
||||
doc comment. (#123107, Thomas Leonard)
|
||||
|
||||
Tue Oct 28 09:21:29 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (gtk_check_version): Move docs inline,
|
||||
|
@ -122,7 +122,7 @@ gtk_xembed_get_time (void)
|
||||
/**
|
||||
* _gtk_xembed_send_message:
|
||||
* @recipient: window to which to send the window, or %NULL
|
||||
* in which case nothing wil be sent
|
||||
* in which case nothing will be sent
|
||||
* @message: type of message
|
||||
* @detail: detail field of message
|
||||
* @data1: data1 field of message
|
||||
@ -170,7 +170,7 @@ _gtk_xembed_send_message (GdkWindow *recipient,
|
||||
/**
|
||||
* _gtk_xembed_send_focus_message:
|
||||
* @recipient: window to which to send the window, or %NULL
|
||||
* in which case nothing wil be sent
|
||||
* in which case nothing will be sent
|
||||
* @message: type of message
|
||||
* @detail: detail field of message
|
||||
*
|
||||
@ -184,6 +184,9 @@ _gtk_xembed_send_focus_message (GdkWindow *recipient,
|
||||
glong detail)
|
||||
{
|
||||
gulong flags = 0;
|
||||
|
||||
if (!recipient)
|
||||
return;
|
||||
|
||||
g_return_if_fail (GDK_IS_WINDOW (recipient));
|
||||
g_return_if_fail (message == XEMBED_FOCUS_IN ||
|
||||
|
Loading…
Reference in New Issue
Block a user