forked from AuroraMiddleware/gtk
quartz: _gdk_quartz_screen -> gdk_quartz_screen
This commit is contained in:
parent
0736544174
commit
1e2907fa02
@ -122,7 +122,7 @@ _gdk_quartz_display_open (const gchar *display_name)
|
||||
_gdk_display = g_object_new (gdk_quartz_display_get_type (), NULL);
|
||||
_gdk_display->device_manager = _gdk_device_manager_new (_gdk_display);
|
||||
|
||||
_gdk_screen = g_object_new (_gdk_quartz_screen_get_type (), NULL);
|
||||
_gdk_screen = g_object_new (gdk_quartz_screen_get_type (), NULL);
|
||||
|
||||
_gdk_quartz_screen_init_visuals (_gdk_screen);
|
||||
|
||||
|
@ -29,7 +29,7 @@ G_BEGIN_DECLS
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
||||
#define GDK_TYPE_QUARTZ_SCREEN (_gdk_quartz_screen_get_type ())
|
||||
#define GDK_TYPE_QUARTZ_SCREEN (gdk_quartz_screen_get_type ())
|
||||
#define GDK_QUARTZ_SCREEN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_QUARTZ_SCREEN, GdkQuartzScreen))
|
||||
#define GDK_QUARTZ_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_QUARTZ_SCREEN, GdkQuartzScreenClass))
|
||||
#define GDK_IS_QUARTZ_SCREEN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_QUARTZ_SCREEN))
|
||||
@ -44,7 +44,7 @@ typedef GdkScreen GdkQuartzScreen;
|
||||
typedef struct _GdkQuartzScreenClass GdkQuartzScreenClass;
|
||||
|
||||
|
||||
GType _gdk_quartz_screen_get_type (void);
|
||||
GType gdk_quartz_screen_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -68,10 +68,10 @@ static void display_reconfiguration_callback (CGDirectDisplayID displ
|
||||
CGDisplayChangeSummaryFlags flags,
|
||||
void *userInfo);
|
||||
|
||||
G_DEFINE_TYPE (GdkQuartzScreen, _gdk_quartz_screen, GDK_TYPE_SCREEN);
|
||||
G_DEFINE_TYPE (GdkQuartzScreen, gdk_quartz_screen, GDK_TYPE_SCREEN);
|
||||
|
||||
static void
|
||||
_gdk_quartz_screen_init (GdkQuartzScreen *quartz_screen)
|
||||
gdk_quartz_screen_init (GdkQuartzScreen *quartz_screen)
|
||||
{
|
||||
GdkScreen *screen = GDK_SCREEN (quartz_screen);
|
||||
NSScreen *nsscreen;
|
||||
@ -102,7 +102,7 @@ gdk_quartz_screen_dispose (GObject *object)
|
||||
CGDisplayRemoveReconfigurationCallback (display_reconfiguration_callback,
|
||||
screen);
|
||||
|
||||
G_OBJECT_CLASS (_gdk_quartz_screen_parent_class)->dispose (object);
|
||||
G_OBJECT_CLASS (gdk_quartz_screen_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -411,7 +411,7 @@ gdk_quartz_screen_is_composited (GdkScreen *screen)
|
||||
}
|
||||
|
||||
static void
|
||||
_gdk_quartz_screen_class_init (GdkQuartzScreenClass *klass)
|
||||
gdk_quartz_screen_class_init (GdkQuartzScreenClass *klass)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
GdkScreenClass *screen_class = GDK_SCREEN_CLASS (klass);
|
||||
|
Loading…
Reference in New Issue
Block a user