[f-spot/FSPOT_0_6_0_STABLE] Re-use ParentWindow Visual and Colormap
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [f-spot/FSPOT_0_6_0_STABLE] Re-use ParentWindow Visual and Colormap
- Date: Tue, 27 Oct 2009 06:36:08 +0000 (UTC)
commit e4fd7f50778050e733e9ef75ce08cfb307e822d5
Author: Stephane Delcroix <stephane delcroix org>
Date: Tue Oct 27 07:32:06 2009 +0100
Re-use ParentWindow Visual and Colormap
Avoid crashing the AdjustTimeDialog on Rgba screens. Hopefully fixes
bgo #591402 too, waiting for confirmation.
src/Widgets/ImageView.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Widgets/ImageView.cs b/src/Widgets/ImageView.cs
index 0bf8c26..c6ba5c4 100644
--- a/src/Widgets/ImageView.cs
+++ b/src/Widgets/ImageView.cs
@@ -343,8 +343,8 @@ namespace FSpot.Widgets
Width = Allocation.Width,
Height = Allocation.Height,
Wclass = Gdk.WindowClass.InputOutput,
- Visual = this.Visual,
- Colormap = this.Colormap,
+ Visual = ParentWindow.Visual,
+ Colormap = ParentWindow.Colormap,
Mask = this.Events
| EventMask.ExposureMask
| EventMask.ButtonPressMask
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]