forked from AuroraMiddleware/gtk
Check if the owner got is of type GDK_WINDOW_FOREIGN. If so the owner is
Mon May 28 13:28:10 Shivram U <shivaram.upadhyayula@wipro.com> * gtk/gtktextbuffer.c (selection_data_get_buffer): Check if the owner got is of type GDK_WINDOW_FOREIGN. If so the owner is not in-process, and so return NULL.
This commit is contained in:
parent
7796a684bf
commit
b719e5d7a8
@ -1,3 +1,9 @@
|
||||
Mon May 28 13:28:10 Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (selection_data_get_buffer): Check if the owner
|
||||
got is of type GDK_WINDOW_FOREIGN. If so the owner is not in-process,
|
||||
and so return NULL.
|
||||
|
||||
2002-05-24 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtkmain.c (_gtk_find_module): don't leak the paths.
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon May 28 13:28:10 Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (selection_data_get_buffer): Check if the owner
|
||||
got is of type GDK_WINDOW_FOREIGN. If so the owner is not in-process,
|
||||
and so return NULL.
|
||||
|
||||
2002-05-24 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtkmain.c (_gtk_find_module): don't leak the paths.
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon May 28 13:28:10 Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (selection_data_get_buffer): Check if the owner
|
||||
got is of type GDK_WINDOW_FOREIGN. If so the owner is not in-process,
|
||||
and so return NULL.
|
||||
|
||||
2002-05-24 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtkmain.c (_gtk_find_module): don't leak the paths.
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon May 28 13:28:10 Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (selection_data_get_buffer): Check if the owner
|
||||
got is of type GDK_WINDOW_FOREIGN. If so the owner is not in-process,
|
||||
and so return NULL.
|
||||
|
||||
2002-05-24 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtkmain.c (_gtk_find_module): don't leak the paths.
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon May 28 13:28:10 Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (selection_data_get_buffer): Check if the owner
|
||||
got is of type GDK_WINDOW_FOREIGN. If so the owner is not in-process,
|
||||
and so return NULL.
|
||||
|
||||
2002-05-24 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtkmain.c (_gtk_find_module): don't leak the paths.
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon May 28 13:28:10 Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (selection_data_get_buffer): Check if the owner
|
||||
got is of type GDK_WINDOW_FOREIGN. If so the owner is not in-process,
|
||||
and so return NULL.
|
||||
|
||||
2002-05-24 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtkmain.c (_gtk_find_module): don't leak the paths.
|
||||
|
@ -2894,6 +2894,9 @@ selection_data_get_buffer (GtkSelectionData *selection_data,
|
||||
if (owner == NULL)
|
||||
return NULL;
|
||||
|
||||
if (gdk_window_get_window_type (owner) == GDK_WINDOW_FOREIGN)
|
||||
return NULL;
|
||||
|
||||
if (selection_data->type != gdk_atom_intern ("GTK_TEXT_BUFFER_CONTENTS", FALSE))
|
||||
return NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user