mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
clipboard tests: Add noreturn annotations where possible
Clang complains when they are missing.
This commit is contained in:
parent
f1e006c88c
commit
6b6246f7b4
@ -4,7 +4,8 @@
|
|||||||
#include "wayland/gdkwayland.h"
|
#include "wayland/gdkwayland.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void
|
|
||||||
|
G_GNUC_NORETURN static void
|
||||||
got_string_cb (GObject *source,
|
got_string_cb (GObject *source,
|
||||||
GAsyncResult *result,
|
GAsyncResult *result,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
@ -28,7 +29,7 @@ got_string_cb (GObject *source,
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
G_GNUC_NORETURN static void
|
||||||
got_text_cb (GObject *source,
|
got_text_cb (GObject *source,
|
||||||
GAsyncResult *result,
|
GAsyncResult *result,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
@ -61,7 +62,7 @@ got_text_cb (GObject *source,
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
G_GNUC_NORETURN static void
|
||||||
got_texture_cb (GObject *source,
|
got_texture_cb (GObject *source,
|
||||||
GAsyncResult *result,
|
GAsyncResult *result,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
@ -94,7 +95,7 @@ got_texture_cb (GObject *source,
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
G_GNUC_NORETURN static void
|
||||||
got_file (GObject *source,
|
got_file (GObject *source,
|
||||||
GAsyncResult *result,
|
GAsyncResult *result,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
@ -120,7 +121,7 @@ got_file (GObject *source,
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
G_GNUC_NORETURN static void
|
||||||
got_files (GObject *source,
|
got_files (GObject *source,
|
||||||
GAsyncResult *result,
|
GAsyncResult *result,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
@ -152,7 +153,7 @@ got_files (GObject *source,
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
G_GNUC_NORETURN static void
|
||||||
got_color (GObject *source,
|
got_color (GObject *source,
|
||||||
GAsyncResult *result,
|
GAsyncResult *result,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
|
Loading…
Reference in New Issue
Block a user