[f-spot/FSPOT_0_6_0_STABLE] drop GdkGlx
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [f-spot/FSPOT_0_6_0_STABLE] drop GdkGlx
- Date: Tue, 8 Dec 2009 20:35:04 +0000 (UTC)
commit 2e1080fd0ca6aae4afe9a17d5495642e479397d8
Author: Stephane Delcroix <stephane delcroix org>
Date: Tue Dec 8 20:49:51 2009 +0100
drop GdkGlx
src/GdkGlx.cs | 175 -------------------------------------------------
src/Makefile.am | 1 -
src/PhotoImageView.cs | 30 ---------
3 files changed, 0 insertions(+), 206 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 58a97a5..e87613c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -174,7 +174,6 @@ F_SPOT_CSDISTFILES = \
$(srcdir)/FolderQueryWidget.cs \
$(srcdir)/FormClient.cs \
$(srcdir)/FullScreenView.cs \
- $(srcdir)/GdkGlx.cs \
$(srcdir)/GroupAdaptor.cs \
$(srcdir)/GroupSelector.cs \
$(srcdir)/Accelerometer.cs \
diff --git a/src/PhotoImageView.cs b/src/PhotoImageView.cs
index 84d48b2..8f24595 100644
--- a/src/PhotoImageView.cs
+++ b/src/PhotoImageView.cs
@@ -161,35 +161,6 @@ namespace FSpot.Widgets {
}
base.OnDestroyed ();
}
-
- //FIXME: I think OnRealized and OnUnrealized are here for the Loupe to work. If it's true, the Loupe should
- //listen to the Realized/Unrealized events and do its initialization on its own
- protected override void OnRealized ()
- {
- int [] attr = new int [] {
- (int) GdkGlx.GlxAttribute.Rgba,
- (int) GdkGlx.GlxAttribute.DepthSize, 16,
- (int) GdkGlx.GlxAttribute.DoubleBuffer,
- (int) GdkGlx.GlxAttribute.None
- };
-
- try {
- Glx = new GdkGlx.Context (Screen, attr);
- Colormap = Glx.GetColormap ();
- } catch (GdkGlx.GlxException e) {
- Console.WriteLine ("Error initializing the OpenGL context:{1} {0}", e, Environment.NewLine);
- }
-
- base.OnRealized ();
- }
-
- protected override void OnUnrealized ()
- {
- base.OnUnrealized ();
-
- if (Glx != null)
- Glx.Destroy ();
- }
#endregion
#region loader
@@ -284,7 +255,6 @@ namespace FSpot.Widgets {
protected BrowsablePointer item;
protected Loupe loupe;
protected Loupe sharpener;
- GdkGlx.Context Glx;
void HandleOrientationChanged (object sender, EventArgs e)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]