janitorial: code style and formatting cleanup

This commit is contained in:
Christian Hergert 2023-06-02 10:18:54 -07:00
parent 43dda37c79
commit 0d43432bfa
4 changed files with 10 additions and 13 deletions

View File

@ -498,7 +498,7 @@ gboolean
mks_display_get_auto_resize (MksDisplay *self)
{
MksDisplayPrivate *priv = mks_display_get_instance_private (self);
g_return_val_if_fail (MKS_IS_DISPLAY (self), FALSE);
return priv->auto_resize;
@ -508,7 +508,7 @@ mks_display_get_auto_resize (MksDisplay *self)
* mks_display_set_auto_resize:
* @self: A `MksDisplay`
* @auto_resize: Whether to auto resize or not
*
*
* Sets whether the widget should reconfigure the VM
* with the allocated size of the widget.
*/

View File

@ -20,8 +20,6 @@
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#define G_LOG_DOMAIN "mks-dmabuf-paintable"
#include "config.h"
#include <gtk/gtk.h>
@ -32,7 +30,7 @@
/*
* MksDmabufPaintable is a GdkPaintable that gets created the first time
* `ScanoutDMABUF` is called.
*
*
* The scanout data is then stored until we receive a `UpdateDMABUF` call
* so we can pass the damage region to `GdkGLTextureBuilder`.
*/

View File

@ -71,7 +71,7 @@ mks_init_gtypes (void)
* mks_init:
*
* Initializes the library.
*
*
* The function must be called before using any of the library functions.
*/
void
@ -96,7 +96,7 @@ _mks_init (void)
/**
* mks_get_major_version:
*
*
* The major version the library.
*/
int
@ -107,7 +107,7 @@ mks_get_major_version (void)
/**
* mks_get_minor_version:
*
*
* The minor version the library.
*/
int
@ -118,7 +118,7 @@ mks_get_minor_version (void)
/**
* mks_get_micro_version:
*
*
* The micro version the library.
*/
int

View File

@ -26,12 +26,11 @@
#include "mks-keyboard.h"
#include "mks-util-private.h"
#include "mks-keymap-xorgevdev2qnum-private.h"
/**
* MksKeyboard:
*
*
* A virtualized QEMU keyboard.
*/
@ -160,7 +159,7 @@ mks_keyboard_class_init (MksKeyboardClass *klass)
/**
* MksKeyboard:modifiers:
*
*
* Active keyboard modifiers.
*/
properties [PROP_MODIFIERS] =
@ -180,7 +179,7 @@ mks_keyboard_init (MksKeyboard *self)
/**
* mks_keyboard_get_modifiers:
* @self: an #MksKeyboard
*
*
* Get the active keyboard modifiers.
*/
MksKeyboardModifier