Don't use GdkAtom where const char * is used

Those are all forgotten transitions while updating code to new APIs.
This commit is contained in:
Benjamin Otte 2020-02-22 22:52:30 +01:00
parent 6442ec2f8d
commit 6c61c7bf0b
3 changed files with 5 additions and 5 deletions

View File

@ -188,7 +188,7 @@ GList * gdk_device_list_axes (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
gboolean gdk_device_get_axis_value (GdkDevice *device,
gdouble *axes,
GdkAtom axis_label,
const char *axis_label,
gdouble *value);
GDK_AVAILABLE_IN_ALL

View File

@ -116,14 +116,14 @@ void _gdk_device_set_associated_device (GdkDevice *device,
void _gdk_device_reset_axes (GdkDevice *device);
guint _gdk_device_add_axis (GdkDevice *device,
GdkAtom label_atom,
const char *label_atom,
GdkAxisUse use,
gdouble min_value,
gdouble max_value,
gdouble resolution);
void _gdk_device_get_axis_info (GdkDevice *device,
guint index,
GdkAtom *label_atom,
const char**label_atom,
GdkAxisUse *use,
gdouble *min_value,
gdouble *max_value,

View File

@ -1514,7 +1514,7 @@ gtk_calendar_drag_accept (GtkDropTarget *dest,
GdkDrop *drop,
GtkCalendar *calendar)
{
GdkAtom target;
const char *target;
target = gtk_drop_target_find_mimetype (dest);
if (!target || gdk_drop_get_actions (drop) == 0)
@ -1537,7 +1537,7 @@ gtk_calendar_drag_drop (GtkDropTarget *dest,
int y,
GtkCalendar *calendar)
{
GdkAtom target;
const char *target;
target = gtk_drop_target_find_mimetype (dest);
if (target != NULL)