summaryrefslogtreecommitdiff
path: root/gtk/gtkplacessidebar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-13 23:39:03 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-12-13 23:39:03 -0500
commit54a62731916bbf724b53f0c9fc2bd1addb85802f (patch)
tree78318499de3a787d6ea9952d786ea966d60a124c /gtk/gtkplacessidebar.c
parent4c083c1ed42a3ebae97a96fc11ef1113ad769f15 (diff)
downloadgtk+-54a62731916bbf724b53f0c9fc2bd1addb85802f.tar.gz
Drop gdk_atom_intern
Atoms are just interned strings now, so we can just use g_intern_string.
Diffstat (limited to 'gtk/gtkplacessidebar.c')
-rw-r--r--gtk/gtkplacessidebar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 5c19747625..326a05c224 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -1977,7 +1977,7 @@ drag_data_get_callback (GtkWidget *widget,
GtkPlacesSidebar *sidebar = GTK_PLACES_SIDEBAR (user_data);
GdkAtom target = gtk_selection_data_get_target (data);
- if (target == gdk_atom_intern_static_string ("DND_GTK_SIDEBAR_ROW"))
+ if (target == g_intern_static_string ("DND_GTK_SIDEBAR_ROW"))
{
gtk_selection_data_set (data,
target,
@@ -2021,7 +2021,7 @@ drag_data_received_callback (GtkWidget *list_box,
else
{
sidebar->drag_list = NULL;
- if (gtk_selection_data_get_target (selection_data) == gdk_atom_intern_static_string ("DND_GTK_SIDEBAR_ROW"))
+ if (gtk_selection_data_get_target (selection_data) == g_intern_static_string ("DND_GTK_SIDEBAR_ROW"))
sidebar->drag_data_info = DND_GTK_SIDEBAR_ROW;
}
sidebar->drag_data_received = TRUE;