[gtk+] trayicon: Use new gdk_window_set_background_pattern() API
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] trayicon: Use new gdk_window_set_background_pattern() API
- Date: Sun, 26 Sep 2010 13:22:59 +0000 (UTC)
commit 603a840de912a6e31ce82d443ad6e61c10974df7
Author: Benjamin Otte <otte redhat com>
Date: Sun Aug 15 14:35:48 2010 +0200
trayicon: Use new gdk_window_set_background_pattern() API
gtk/gtktrayicon-x11.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c
index f055e78..107ae83 100644
--- a/gtk/gtktrayicon-x11.c
+++ b/gtk/gtktrayicon-x11.c
@@ -871,7 +871,7 @@ gtk_tray_icon_realize (GtkWidget *widget)
else
{
/* Set a parent-relative background pixmap */
- gdk_window_set_back_pixmap (window, NULL, TRUE);
+ gdk_window_set_background_pattern (window, NULL);
}
GTK_NOTE (PLUGSOCKET,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]