mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Fix 344743
This commit is contained in:
parent
400101a108
commit
371c875c90
@ -1,5 +1,8 @@
|
||||
2006-06-14 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkselection.c: Call init_atoms before using atoms
|
||||
in several functions. (#344743, John Finlay)
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_search_position+_func):
|
||||
Allow NULL to reset to default. (#344838, John Finlay)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2006-06-14 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkselection.c: Call init_atoms before using atoms
|
||||
in several functions. (#344743, John Finlay)
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_search_position+_func):
|
||||
Allow NULL to reset to default. (#344838, John Finlay)
|
||||
|
||||
|
@ -1700,6 +1700,9 @@ gtk_targets_include_text (GdkAtom *targets,
|
||||
|
||||
/* Keep in sync with gtk_target_list_add_text_targets()
|
||||
*/
|
||||
|
||||
init_atoms ();
|
||||
|
||||
for (i = 0; i < n_targets; i++)
|
||||
{
|
||||
if (targets[i] == utf8_atom ||
|
||||
@ -1744,6 +1747,8 @@ gtk_targets_include_rich_text (GdkAtom *targets,
|
||||
|
||||
g_return_val_if_fail (GTK_IS_TEXT_BUFFER (buffer), FALSE);
|
||||
|
||||
init_atoms ();
|
||||
|
||||
rich_targets = gtk_text_buffer_get_deserialize_formats (buffer,
|
||||
&n_rich_targets);
|
||||
|
||||
@ -1930,6 +1935,9 @@ gtk_targets_include_uri (GdkAtom *targets,
|
||||
|
||||
/* Keep in sync with gtk_target_list_add_uri_targets()
|
||||
*/
|
||||
|
||||
init_atoms ();
|
||||
|
||||
for (i = 0; i < n_targets; i++)
|
||||
{
|
||||
if (targets[i] == text_uri_list_atom)
|
||||
|
Loading…
Reference in New Issue
Block a user