forked from AuroraMiddleware/gtk
gdk: Remove unused flags
This commit is contained in:
parent
b12b06e917
commit
ebcef256ab
@ -301,8 +301,6 @@ typedef enum
|
|||||||
GDK_HINT_MAX_SIZE = 1 << 2,
|
GDK_HINT_MAX_SIZE = 1 << 2,
|
||||||
GDK_HINT_ASPECT = 1 << 4,
|
GDK_HINT_ASPECT = 1 << 4,
|
||||||
GDK_HINT_WIN_GRAVITY = 1 << 6,
|
GDK_HINT_WIN_GRAVITY = 1 << 6,
|
||||||
GDK_HINT_USER_POS = 1 << 7,
|
|
||||||
GDK_HINT_USER_SIZE = 1 << 8
|
|
||||||
} GdkSurfaceHints;
|
} GdkSurfaceHints;
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
|
@ -624,8 +624,6 @@ _gdk_macos_surface_set_geometry_hints (GdkMacosSurface *self,
|
|||||||
g_return_if_fail (self->window != NULL);
|
g_return_if_fail (self->window != NULL);
|
||||||
|
|
||||||
if (geom_mask & GDK_HINT_POS) { /* TODO */ }
|
if (geom_mask & GDK_HINT_POS) { /* TODO */ }
|
||||||
if (geom_mask & GDK_HINT_USER_POS) { /* TODO */ }
|
|
||||||
if (geom_mask & GDK_HINT_USER_SIZE) { /* TODO */ }
|
|
||||||
|
|
||||||
if (geom_mask & GDK_HINT_MAX_SIZE)
|
if (geom_mask & GDK_HINT_MAX_SIZE)
|
||||||
max_size = NSMakeSize (geometry->max_width, geometry->max_height);
|
max_size = NSMakeSize (geometry->max_width, geometry->max_height);
|
||||||
|
@ -2161,16 +2161,6 @@ gdk_x11_surface_set_geometry_hints (GdkSurface *surface,
|
|||||||
size_hints.y = 0;
|
size_hints.y = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (geom_mask & GDK_HINT_USER_POS)
|
|
||||||
{
|
|
||||||
size_hints.flags |= USPosition;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (geom_mask & GDK_HINT_USER_SIZE)
|
|
||||||
{
|
|
||||||
size_hints.flags |= USSize;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (geom_mask & GDK_HINT_MIN_SIZE)
|
if (geom_mask & GDK_HINT_MIN_SIZE)
|
||||||
{
|
{
|
||||||
size_hints.flags |= PMinSize;
|
size_hints.flags |= PMinSize;
|
||||||
|
Loading…
Reference in New Issue
Block a user