]): Remove unused variables to fix compiler warnings.

2006-07-19  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzView.c ([GdkQuartzView -drawRect:]):
	* gdk/quartz/gdkpixmap-quartz.c (gdk_pixmap_new): Remove unused
	variables to fix compiler warnings.
This commit is contained in:
Richard Hult 2006-07-19 09:15:58 +00:00 committed by Richard Hult
parent 7f15d73769
commit 157ba89508
4 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2006-07-19 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c ([GdkQuartzView -drawRect:]):
* gdk/quartz/gdkpixmap-quartz.c (gdk_pixmap_new): Remove unused
variables to fix compiler warnings.
2006-07-19 Richard Hult <richard@imendio.com> 2006-07-19 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c (gdk_window_impl_quartz_init) * gdk/quartz/gdkwindow-quartz.c (gdk_window_impl_quartz_init)

View File

@ -1,3 +1,9 @@
2006-07-19 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c ([GdkQuartzView -drawRect:]):
* gdk/quartz/gdkpixmap-quartz.c (gdk_pixmap_new): Remove unused
variables to fix compiler warnings.
2006-07-19 Richard Hult <richard@imendio.com> 2006-07-19 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c (gdk_window_impl_quartz_init) * gdk/quartz/gdkwindow-quartz.c (gdk_window_impl_quartz_init)

View File

@ -48,7 +48,6 @@
-(void)drawRect:(NSRect)rect -(void)drawRect:(NSRect)rect
{ {
NSRect bounds = [self bounds];
GdkRectangle gdk_rect; GdkRectangle gdk_rect;
GdkWindowObject *private = GDK_WINDOW_OBJECT (gdk_window); GdkWindowObject *private = GDK_WINDOW_OBJECT (gdk_window);
GdkWindowImplQuartz *impl = GDK_WINDOW_IMPL_QUARTZ (private->impl); GdkWindowImplQuartz *impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);

View File

@ -114,7 +114,6 @@ gdk_pixmap_new (GdkDrawable *drawable,
GdkPixmap *pixmap; GdkPixmap *pixmap;
GdkDrawableImplQuartz *draw_impl; GdkDrawableImplQuartz *draw_impl;
GdkPixmapImplQuartz *pix_impl; GdkPixmapImplQuartz *pix_impl;
GdkColormap *cmap;
gint window_depth; gint window_depth;
CGColorSpaceRef colorspace; CGColorSpaceRef colorspace;
CGDataProviderRef data_provider; CGDataProviderRef data_provider;