This is only the bare minimum to make everything under panels/common build. Since these widgets are used by the main window, port them first. CcTimeEntry was particularly hard to port. That's because GtkEntry is a final class now. Overall, though, I'm happy with how it turned out to be - much cleaner, less code, more obvious.
14 lines
291 B
C
14 lines
291 B
C
/* Stub to replace gnome-settings-daemon's
|
|
* gnome-settings-bus.h helpers */
|
|
|
|
#include <gdk/x11/gdkx.h>
|
|
|
|
#ifdef GDK_WINDOWING_WAYLAND
|
|
|
|
static inline gboolean
|
|
gnome_settings_is_wayland (void)
|
|
{
|
|
return !GDK_IS_X11_DISPLAY (gdk_display_get_default ());
|
|
}
|
|
|
|
#endif /* GDK_WINDOWING_WAYLAND */
|