summaryrefslogtreecommitdiff
path: root/gtk/gtkcolorsel.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/gtkcolorsel.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/gtkcolorsel.c')
-rw-r--r--gtk/gtkcolorsel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c
index a1b6c717fb..525888ae94 100644
--- a/gtk/gtkcolorsel.c
+++ b/gtk/gtkcolorsel.c
@@ -374,7 +374,7 @@ color_sample_drag_handle (GtkWidget *widget,
vals[3] = priv->has_opacity ? colsrc[COLORSEL_OPACITY] * 0xffff : 0xffff;
gtk_selection_data_set (selection_data,
- gdk_atom_intern ("application/x-color", FALSE),
+ gdk_atom_intern_static_string ("application/x-color"),
16, (guchar *)vals, 8);
}
@@ -723,7 +723,7 @@ palette_drag_handle (GtkWidget *widget,
vals[3] = 0xffff;
gtk_selection_data_set (selection_data,
- gdk_atom_intern ("application/x-color", FALSE),
+ gdk_atom_intern_static_string ("application/x-color"),
16, (guchar *)vals, 8);
}