mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Don't add the same target atom twice. (#516087, Christian Persch)
2008-02-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't add the same target atom twice. (#516087, Christian Persch) svn path=/trunk/; revision=19589
This commit is contained in:
parent
f27fe11cb8
commit
3b3122ee06
@ -1,3 +1,8 @@
|
||||
2008-02-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
|
||||
add the same target atom twice. (#516087, Christian Persch)
|
||||
|
||||
2008-02-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/testfilechooser.c: Add a --backend option.
|
||||
|
@ -338,7 +338,8 @@ gtk_target_list_add_text_targets (GtkTargetList *list,
|
||||
gtk_target_list_add (list, text_atom, 0, info);
|
||||
gtk_target_list_add (list, GDK_TARGET_STRING, 0, info);
|
||||
gtk_target_list_add (list, text_plain_utf8_atom, 0, info);
|
||||
gtk_target_list_add (list, text_plain_locale_atom, 0, info);
|
||||
if (!g_get_charset (NULL))
|
||||
gtk_target_list_add (list, text_plain_locale_atom, 0, info);
|
||||
gtk_target_list_add (list, text_plain_atom, 0, info);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user