emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114666: * nsterm.h (struct ns_display_info): Remove


From: Dmitry Antipov
Subject: [Emacs-diffs] trunk r114666: * nsterm.h (struct ns_display_info): Remove set-but-unused
Date: Tue, 15 Oct 2013 02:45:39 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114666
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Tue 2013-10-15 06:45:03 +0400
message:
  * nsterm.h (struct ns_display_info): Remove set-but-unused
  member image_cache (image caches are per-terminal anyway).
  (FRAME_X_IMAGE_CACHE): Remove.
  * nsterm.m (ns_initialize_display_info): Adjust user.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/nsterm.h                   nsterm.h-20091113204419-o5vbwnq5f7feedwu-8746
  src/nsterm.m                   nsterm.m-20091113204419-o5vbwnq5f7feedwu-8747
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-10-14 16:23:10 +0000
+++ b/src/ChangeLog     2013-10-15 02:45:03 +0000
@@ -1,3 +1,10 @@
+2013-10-15  Dmitry Antipov  <address@hidden>
+
+       * nsterm.h (struct ns_display_info): Remove set-but-unused
+       member image_cache (image caches are per-terminal anyway).
+       (FRAME_X_IMAGE_CACHE): Remove.
+       * nsterm.m (ns_initialize_display_info): Adjust user.
+
 2013-10-14  Eli Zaretskii  <address@hidden>
 
        * w32proc.c: Include mingw_time.h.

=== modified file 'src/nsterm.h'
--- a/src/nsterm.h      2013-10-08 17:49:20 +0000
+++ b/src/nsterm.h      2013-10-15 02:45:03 +0000
@@ -569,8 +569,6 @@
   ptrdiff_t bitmaps_size;
   ptrdiff_t bitmaps_last;
 
-  struct image_cache *image_cache;
-
   struct ns_color_table *color_table;
 
   /* DPI resolution of this screen */
@@ -714,8 +712,6 @@
 #define FRAME_FOREGROUND_COLOR(f) ((f)->output_data.ns->foreground_color)
 #define FRAME_BACKGROUND_COLOR(f) ((f)->output_data.ns->background_color)
 
-#define FRAME_X_IMAGE_CACHE(F) FRAME_DISPLAY_INFO ((F))->image_cache
-
 #define NS_FACE_FOREGROUND(f) ((f)->foreground)
 #define NS_FACE_BACKGROUND(f) ((f)->background)
 #define FRAME_NS_TITLEBAR_HEIGHT(f) ((f)->output_data.ns->titlebar_height)

=== modified file 'src/nsterm.m'
--- a/src/nsterm.m      2013-10-14 12:19:21 +0000
+++ b/src/nsterm.m      2013-10-15 02:45:03 +0000
@@ -3975,7 +3975,6 @@
                 && ![NSCalibratedWhiteColorSpace isEqualToString:
                                                  NSColorSpaceFromDepth 
(depth)];
     dpyinfo->n_planes = NSBitsPerPixelFromDepth (depth);
-    dpyinfo->image_cache = make_image_cache ();
     dpyinfo->color_table = xmalloc (sizeof *dpyinfo->color_table);
     dpyinfo->color_table->colors = NULL;
     dpyinfo->root_window = 42; /* a placeholder.. */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]