summaryrefslogtreecommitdiff
path: root/gdk/macos
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/macos')
-rw-r--r--gdk/macos/gdkmacoscursor.c2
-rw-r--r--gdk/macos/gdkmacosdisplay-private.h4
-rw-r--r--gdk/macos/gdkmacosdisplay-settings.c2
-rw-r--r--gdk/macos/gdkmacosdisplay.c8
-rw-r--r--gdk/macos/gdkmacosmonitor.c6
-rw-r--r--gdk/macos/gdkmacossurface-private.h2
-rw-r--r--gdk/macos/gdkmacossurface.c2
7 files changed, 13 insertions, 13 deletions
diff --git a/gdk/macos/gdkmacoscursor.c b/gdk/macos/gdkmacoscursor.c
index a6da5c922b..cf571a9a11 100644
--- a/gdk/macos/gdkmacoscursor.c
+++ b/gdk/macos/gdkmacoscursor.c
@@ -84,7 +84,7 @@ CUSTOM_CURSOR_CTOR(gdkZoomOutCursor, 43)
@end
struct CursorsByName {
- const gchar *name;
+ const char *name;
NSString *selector;
};
diff --git a/gdk/macos/gdkmacosdisplay-private.h b/gdk/macos/gdkmacosdisplay-private.h
index 9f3d55853b..7638f87be3 100644
--- a/gdk/macos/gdkmacosdisplay-private.h
+++ b/gdk/macos/gdkmacosdisplay-private.h
@@ -83,7 +83,7 @@ struct _GdkMacosDisplayClass
};
-GdkDisplay *_gdk_macos_display_open (const gchar *display_name);
+GdkDisplay *_gdk_macos_display_open (const char *display_name);
int _gdk_macos_display_get_fd (GdkMacosDisplay *self);
void _gdk_macos_display_queue_events (GdkMacosDisplay *self);
void _gdk_macos_display_to_display_coords (GdkMacosDisplay *self,
@@ -129,7 +129,7 @@ NSWindow *_gdk_macos_display_find_native_under_pointer (GdkMacosDisp
int *x,
int *y);
gboolean _gdk_macos_display_get_setting (GdkMacosDisplay *self,
- const gchar *setting,
+ const char *setting,
GValue *value);
void _gdk_macos_display_reload_settings (GdkMacosDisplay *self);
void _gdk_macos_display_surface_resigned_main (GdkMacosDisplay *self,
diff --git a/gdk/macos/gdkmacosdisplay-settings.c b/gdk/macos/gdkmacosdisplay-settings.c
index cf3224b6db..e6714f0a14 100644
--- a/gdk/macos/gdkmacosdisplay-settings.c
+++ b/gdk/macos/gdkmacosdisplay-settings.c
@@ -96,7 +96,7 @@ _gdk_macos_settings_load (GdkMacosSettings *settings)
gboolean
_gdk_macos_display_get_setting (GdkMacosDisplay *self,
- const gchar *setting,
+ const char *setting,
GValue *value)
{
GDK_BEGIN_MACOS_ALLOC_POOL;
diff --git a/gdk/macos/gdkmacosdisplay.c b/gdk/macos/gdkmacosdisplay.c
index 800696eb09..13d7dc8d1b 100644
--- a/gdk/macos/gdkmacosdisplay.c
+++ b/gdk/macos/gdkmacosdisplay.c
@@ -94,7 +94,7 @@ get_monitor (GdkMacosDisplay *self,
static gboolean
gdk_macos_display_get_setting (GdkDisplay *display,
- const gchar *setting,
+ const char *setting,
GValue *value)
{
return _gdk_macos_display_get_setting (GDK_MACOS_DISPLAY (display), setting, value);
@@ -343,7 +343,7 @@ gdk_macos_display_load_display_link (GdkMacosDisplay *self)
g_source_attach (self->frame_source, NULL);
}
-static const gchar *
+static const char *
gdk_macos_display_get_name (GdkDisplay *display)
{
return GDK_MACOS_DISPLAY (display)->name;
@@ -382,7 +382,7 @@ gdk_macos_display_has_pending (GdkDisplay *display)
static void
gdk_macos_display_notify_startup_complete (GdkDisplay *display,
- const gchar *startup_notification_id)
+ const char *startup_notification_id)
{
/* Not Supported */
}
@@ -677,7 +677,7 @@ gdk_macos_display_init (GdkMacosDisplay *self)
}
GdkDisplay *
-_gdk_macos_display_open (const gchar *display_name)
+_gdk_macos_display_open (const char *display_name)
{
static GdkMacosDisplay *self;
ProcessSerialNumber psn = { 0, kCurrentProcess };
diff --git a/gdk/macos/gdkmacosmonitor.c b/gdk/macos/gdkmacosmonitor.c
index ade7f0bf42..91a85a0dfa 100644
--- a/gdk/macos/gdkmacosmonitor.c
+++ b/gdk/macos/gdkmacosmonitor.c
@@ -152,7 +152,7 @@ GetLocalizedName (NSScreen *screen)
return g_steal_pointer (&name);
}
-static gchar *
+static char *
GetConnectorName (CGDirectDisplayID screen_id)
{
guint unit = CGDisplayUnitNumber (screen_id);
@@ -193,8 +193,8 @@ _gdk_macos_monitor_reconfigure (GdkMacosMonitor *self)
CGRect bounds;
size_t width;
size_t pixel_width;
- gchar *connector;
- gchar *name;
+ char *connector;
+ char *name;
int refresh_rate;
int scale_factor = 1;
int width_mm;
diff --git a/gdk/macos/gdkmacossurface-private.h b/gdk/macos/gdkmacossurface-private.h
index 4d9aa4c053..074fd28854 100644
--- a/gdk/macos/gdkmacossurface-private.h
+++ b/gdk/macos/gdkmacossurface-private.h
@@ -79,7 +79,7 @@ NSWindow *_gdk_macos_surface_get_native (GdkMacosSurface
CGDirectDisplayID _gdk_macos_surface_get_screen_id (GdkMacosSurface *self);
const char *_gdk_macos_surface_get_title (GdkMacosSurface *self);
void _gdk_macos_surface_set_title (GdkMacosSurface *self,
- const gchar *title);
+ const char *title);
void _gdk_macos_surface_get_shadow (GdkMacosSurface *self,
int *top,
int *right,
diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c
index 84c74b9d46..a5bc4098b9 100644
--- a/gdk/macos/gdkmacossurface.c
+++ b/gdk/macos/gdkmacossurface.c
@@ -571,7 +571,7 @@ _gdk_macos_surface_get_title (GdkMacosSurface *self)
void
_gdk_macos_surface_set_title (GdkMacosSurface *self,
- const gchar *title)
+ const char *title)
{
g_return_if_fail (GDK_IS_MACOS_SURFACE (self));