[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xterm.c
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/src/xterm.c |
Date: |
Tue, 16 Aug 2005 15:34:01 -0400 |
Index: emacs/src/xterm.c
diff -c emacs/src/xterm.c:1.872 emacs/src/xterm.c:1.873
*** emacs/src/xterm.c:1.872 Sat Aug 13 09:48:36 2005
--- emacs/src/xterm.c Tue Aug 16 19:34:00 2005
***************
*** 9253,9264 ****
#ifdef USE_GTK
{
! GdkDisplay *gdpy = gdk_x11_lookup_xdisplay (FRAME_X_DISPLAY (f));
! GdkPixmap *gpix = gdk_pixmap_foreign_new_for_display (gdpy, icon_pixmap);
! GdkPixmap *gmask = gdk_pixmap_foreign_new_for_display (gdpy, icon_mask);
! GdkPixbuf *gp = xg_get_pixbuf_from_pix_and_mask (gpix, gmask, NULL);
!
! gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), gp);
return;
}
--- 9253,9259 ----
#ifdef USE_GTK
{
! xg_set_frame_icon (f, icon_pixmap, icon_mask);
return;
}