mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2025-04-14 08:27:16 +00:00
lib: use GLib numeric types
I'm trying to be consistent and keep with GLib type definitions except for char/int/double/float.
This commit is contained in:
parent
5a55efe987
commit
a8b605f401
@ -271,7 +271,7 @@ mks_display_picture_legacy_event_cb (MksDisplayPicture *self,
|
|||||||
case GDK_TOUCH_END:
|
case GDK_TOUCH_END:
|
||||||
{
|
{
|
||||||
double guest_x, guest_y;
|
double guest_x, guest_y;
|
||||||
uint64_t num_slot = GPOINTER_TO_UINT (sequence);
|
guint64 num_slot = GPOINTER_TO_UINT (sequence);
|
||||||
MksTouchEventKind kind;
|
MksTouchEventKind kind;
|
||||||
|
|
||||||
if (event_type == GDK_TOUCH_BEGIN)
|
if (event_type == GDK_TOUCH_BEGIN)
|
||||||
|
@ -27,13 +27,13 @@
|
|||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
GLuint mks_gl_context_import_dmabuf (GdkGLContext *context,
|
GLuint mks_gl_context_import_dmabuf (GdkGLContext *context,
|
||||||
uint32_t format,
|
guint32 format,
|
||||||
unsigned int width,
|
guint width,
|
||||||
unsigned int height,
|
guint height,
|
||||||
uint32_t n_planes,
|
guint32 n_planes,
|
||||||
const int *fds,
|
const int *fds,
|
||||||
const uint32_t *strides,
|
const guint32 *strides,
|
||||||
const uint32_t *offsets,
|
const guint32 *offsets,
|
||||||
const uint64_t *modifiers);
|
const guint64 *modifiers);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -35,14 +35,14 @@
|
|||||||
|
|
||||||
GLuint
|
GLuint
|
||||||
mks_gl_context_import_dmabuf (GdkGLContext *context,
|
mks_gl_context_import_dmabuf (GdkGLContext *context,
|
||||||
uint32_t format,
|
guint32 format,
|
||||||
unsigned int width,
|
guint width,
|
||||||
unsigned int height,
|
guint height,
|
||||||
uint32_t n_planes,
|
guint32 n_planes,
|
||||||
const int *fds,
|
const int *fds,
|
||||||
const uint32_t *strides,
|
const guint32 *strides,
|
||||||
const uint32_t *offsets,
|
const guint32 *offsets,
|
||||||
const uint64_t *modifiers)
|
const guint64 *modifiers)
|
||||||
{
|
{
|
||||||
GdkDisplay *display;
|
GdkDisplay *display;
|
||||||
EGLDisplay egl_display;
|
EGLDisplay egl_display;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user