mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
x11: Use gdk_x11_* rather than gdk_wayland_*
Rename the local functions for the x11 backend as gdk_x11_* rather than gdk_wayland_*
This commit is contained in:
parent
36d986f33c
commit
44931a66df
@ -4552,10 +4552,10 @@ gdk_x11_popup_init (GdkX11Popup *popup)
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_wayland_popup_get_property (GObject *object,
|
||||
guint prop_id,
|
||||
GValue *value,
|
||||
GParamSpec *pspec)
|
||||
gdk_x11_popup_get_property (GObject *object,
|
||||
guint prop_id,
|
||||
GValue *value,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
GdkSurface *surface = GDK_SURFACE (object);
|
||||
|
||||
@ -4576,10 +4576,10 @@ gdk_wayland_popup_get_property (GObject *object,
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_wayland_popup_set_property (GObject *object,
|
||||
guint prop_id,
|
||||
const GValue *value,
|
||||
GParamSpec *pspec)
|
||||
gdk_x11_popup_set_property (GObject *object,
|
||||
guint prop_id,
|
||||
const GValue *value,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
GdkSurface *surface = GDK_SURFACE (object);
|
||||
|
||||
@ -4607,8 +4607,8 @@ gdk_x11_popup_class_init (GdkX11PopupClass *class)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (class);
|
||||
|
||||
object_class->get_property = gdk_wayland_popup_get_property;
|
||||
object_class->set_property = gdk_wayland_popup_set_property;
|
||||
object_class->get_property = gdk_x11_popup_get_property;
|
||||
object_class->set_property = gdk_x11_popup_set_property;
|
||||
|
||||
gdk_popup_install_properties (object_class, 1);
|
||||
}
|
||||
@ -4675,10 +4675,10 @@ gdk_x11_toplevel_init (GdkX11Toplevel *toplevel)
|
||||
{
|
||||
}
|
||||
static void
|
||||
gdk_wayland_toplevel_set_property (GObject *object,
|
||||
guint prop_id,
|
||||
const GValue *value,
|
||||
GParamSpec *pspec)
|
||||
gdk_x11_toplevel_set_property (GObject *object,
|
||||
guint prop_id,
|
||||
const GValue *value,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
GdkSurface *surface = GDK_SURFACE (object);
|
||||
|
||||
@ -4732,10 +4732,10 @@ gdk_wayland_toplevel_set_property (GObject *object,
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_wayland_toplevel_get_property (GObject *object,
|
||||
guint prop_id,
|
||||
GValue *value,
|
||||
GParamSpec *pspec)
|
||||
gdk_x11_toplevel_get_property (GObject *object,
|
||||
guint prop_id,
|
||||
GValue *value,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
GdkSurface *surface = GDK_SURFACE (object);
|
||||
|
||||
@ -4796,8 +4796,8 @@ gdk_x11_toplevel_class_init (GdkX11ToplevelClass *class)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (class);
|
||||
|
||||
object_class->get_property = gdk_wayland_toplevel_get_property;
|
||||
object_class->set_property = gdk_wayland_toplevel_set_property;
|
||||
object_class->get_property = gdk_x11_toplevel_get_property;
|
||||
object_class->set_property = gdk_x11_toplevel_set_property;
|
||||
|
||||
gdk_toplevel_install_properties (object_class, LAST_PROP);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user