summaryrefslogtreecommitdiff
path: root/gtk/gtktreednd.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2005-09-11 05:48:27 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-11 05:48:27 +0000
commitaf89d145f72d824ee7ff757faca012550c50f349 (patch)
tree8285ee531e9f03d75f2ce735e9d5cd774bc6bb42 /gtk/gtktreednd.c
parentd715dcaf409760e5c4d403380dac63e50358dab0 (diff)
downloadgtk+-af89d145f72d824ee7ff757faca012550c50f349.tar.gz
Use gdk_atom_intern_static_string() where appropriate.
* gtk/*.c: Use gdk_atom_intern_static_string() where appropriate.
Diffstat (limited to 'gtk/gtktreednd.c')
-rw-r--r--gtk/gtktreednd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktreednd.c b/gtk/gtktreednd.c
index 4e5c2715d6..49b0054727 100644
--- a/gtk/gtktreednd.c
+++ b/gtk/gtktreednd.c
@@ -249,7 +249,7 @@ gtk_tree_set_row_drag_data (GtkSelectionData *selection_data,
g_return_val_if_fail (GTK_IS_TREE_MODEL (tree_model), FALSE);
g_return_val_if_fail (path != NULL, FALSE);
- if (selection_data->target != gdk_atom_intern ("GTK_TREE_MODEL_ROW", FALSE))
+ if (selection_data->target != gdk_atom_intern_static_string ("GTK_TREE_MODEL_ROW"))
return FALSE;
path_str = gtk_tree_path_to_string (path);
@@ -269,7 +269,7 @@ gtk_tree_set_row_drag_data (GtkSelectionData *selection_data,
trd->model = tree_model;
gtk_selection_data_set (selection_data,
- gdk_atom_intern ("GTK_TREE_MODEL_ROW", FALSE),
+ gdk_atom_intern_static_string ("GTK_TREE_MODEL_ROW"),
8, /* bytes */
(void*)trd,
struct_size);
@@ -313,7 +313,7 @@ gtk_tree_get_row_drag_data (GtkSelectionData *selection_data,
if (path)
*path = NULL;
- if (selection_data->target != gdk_atom_intern ("GTK_TREE_MODEL_ROW", FALSE))
+ if (selection_data->target != gdk_atom_intern_static_string ("GTK_TREE_MODEL_ROW"))
return FALSE;
if (selection_data->length < 0)