Remove the gdk backend API too

The GTK+ level API for this is already gone.
This commit is contained in:
Matthias Clasen 2017-05-02 16:16:05 -04:00
parent e0a741c8ee
commit caacab13e9
2 changed files with 0 additions and 46 deletions

View File

@ -3050,49 +3050,6 @@ gdk_x11_window_set_utf8_property (GdkWindow *window,
}
}
/**
* gdk_x11_window_set_hide_titlebar_when_maximized:
* @window: (type GdkX11Window): a #GdkWindow
* @hide_titlebar_when_maximized: whether to hide the titlebar when
* maximized
*
* Set a hint for the window manager, requesting that the titlebar
* should be hidden when the window is maximized.
*
* Note that this property is automatically updated by GTK+, so this
* function should only be used by applications which do not use GTK+
* to create toplevel windows.
*
* Since: 3.4
*/
void
gdk_x11_window_set_hide_titlebar_when_maximized (GdkWindow *window,
gboolean hide_titlebar_when_maximized)
{
GdkDisplay *display;
if (!WINDOW_IS_TOPLEVEL (window))
return;
display = gdk_window_get_display (window);
if (hide_titlebar_when_maximized)
{
gulong hide = 1;
XChangeProperty (GDK_DISPLAY_XDISPLAY (display),
GDK_WINDOW_XID (window),
gdk_x11_get_xatom_by_name_for_display (display, "_GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED"),
XA_CARDINAL, 32,
PropModeReplace, (guchar *)&hide, 1);
}
else
{
XDeleteProperty (GDK_DISPLAY_XDISPLAY (display),
GDK_WINDOW_XID (window),
gdk_x11_get_xatom_by_name_for_display (display, "_GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED"));
}
}
static void
gdk_x11_window_set_shadow_width (GdkWindow *window,
int left,

View File

@ -71,9 +71,6 @@ void gdk_x11_window_set_frame_extents (GdkWindow *window,
int right,
int top,
int bottom);
GDK_AVAILABLE_IN_3_4
void gdk_x11_window_set_hide_titlebar_when_maximized (GdkWindow *window,
gboolean hide_titlebar_when_maximized);
GDK_AVAILABLE_IN_ALL
void gdk_x11_window_move_to_current_desktop (GdkWindow *window);