forked from AuroraMiddleware/gtk
API: remove gdk_window_set_icon()
gdk_window_set_icon_list() now does everything gdk_window_set_icon() used to do.
This commit is contained in:
parent
dceb149ca4
commit
6ef27387e0
@ -508,7 +508,6 @@ gdk_window_get_children
|
||||
gdk_window_peek_children
|
||||
gdk_window_get_events
|
||||
gdk_window_set_events
|
||||
gdk_window_set_icon
|
||||
gdk_window_set_icon_name
|
||||
gdk_window_set_transient_for
|
||||
gdk_window_set_role
|
||||
|
@ -714,7 +714,6 @@ gdk_window_set_override_redirect
|
||||
gdk_window_set_accept_focus
|
||||
gdk_window_set_focus_on_map
|
||||
gdk_window_set_icon_list
|
||||
gdk_window_set_icon
|
||||
gdk_window_set_icon_name
|
||||
gdk_window_set_opacity
|
||||
gdk_window_iconify
|
||||
|
@ -767,10 +767,6 @@ GdkEventMask gdk_window_get_device_events (GdkWindow *window,
|
||||
|
||||
void gdk_window_set_icon_list (GdkWindow *window,
|
||||
GList *pixbufs);
|
||||
void gdk_window_set_icon (GdkWindow *window,
|
||||
GdkWindow *icon_window,
|
||||
GdkPixmap *pixmap,
|
||||
GdkBitmap *mask);
|
||||
void gdk_window_set_icon_name (GdkWindow *window,
|
||||
const gchar *name);
|
||||
void gdk_window_set_group (GdkWindow *window,
|
||||
|
@ -2282,15 +2282,6 @@ gdk_window_set_focus_on_map (GdkWindow *window,
|
||||
private->focus_on_map = focus_on_map != FALSE;
|
||||
}
|
||||
|
||||
void
|
||||
gdk_window_set_icon (GdkWindow *window,
|
||||
GdkWindow *icon_window,
|
||||
GdkPixmap *pixmap,
|
||||
GdkBitmap *mask)
|
||||
{
|
||||
/* FIXME: Implement */
|
||||
}
|
||||
|
||||
void
|
||||
gdk_window_set_icon_name (GdkWindow *window,
|
||||
const gchar *name)
|
||||
|
@ -2283,17 +2283,6 @@ gdk_window_set_icon_list (GdkWindow *window,
|
||||
impl->hicon_small = small_hicon;
|
||||
}
|
||||
|
||||
void
|
||||
gdk_window_set_icon (GdkWindow *window,
|
||||
GdkWindow *icon_window,
|
||||
GdkPixmap *pixmap,
|
||||
GdkBitmap *mask)
|
||||
{
|
||||
g_return_if_fail (GDK_IS_WINDOW (window));
|
||||
|
||||
/* do nothing, use gdk_window_set_icon_list instead */
|
||||
}
|
||||
|
||||
void
|
||||
gdk_window_set_icon_name (GdkWindow *window,
|
||||
const gchar *name)
|
||||
|
@ -3787,29 +3787,6 @@ gdk_window_set_icon_list (GdkWindow *window,
|
||||
gdk_window_update_icon (window, pixbufs);
|
||||
}
|
||||
|
||||
/**
|
||||
* gdk_window_set_icon:
|
||||
* @window: a toplevel #GdkWindow
|
||||
* @icon_window: a #GdkWindow to use for the icon, or %NULL to unset
|
||||
* @pixmap: a #GdkPixmap to use as the icon, or %NULL to unset
|
||||
* @mask: a 1-bit pixmap (#GdkBitmap) to use as mask for @pixmap, or %NULL to have none
|
||||
*
|
||||
* Sets the icon of @window as a pixmap or window. If using GTK+, investigate
|
||||
* gtk_window_set_default_icon_list() first, and then gtk_window_set_icon_list()
|
||||
* and gtk_window_set_icon(). If those don't meet your needs, look at
|
||||
* gdk_window_set_icon_list(). Only if all those are too high-level do you
|
||||
* want to fall back to gdk_window_set_icon().
|
||||
*
|
||||
**/
|
||||
void
|
||||
gdk_window_set_icon (GdkWindow *window,
|
||||
GdkWindow *icon_window,
|
||||
GdkPixmap *pixmap,
|
||||
GdkBitmap *mask)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gdk_window_icon_name_set (GdkWindow *window)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user