From 140cad141f20d66bf31c6cd39e26d82317140d38 Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Sun, 5 Aug 2012 19:33:52 +0200 Subject: [PATCH] gtk: Remove the custom code for ColorSelectionDialog It has been obsolete for quite a while, and had a scary warning. --- gtk/ColorSelectionDialog.cs | 40 ------------------------------------- gtk/Makefile.am | 1 - 2 files changed, 41 deletions(-) delete mode 100644 gtk/ColorSelectionDialog.cs diff --git a/gtk/ColorSelectionDialog.cs b/gtk/ColorSelectionDialog.cs deleted file mode 100644 index 71c680939..000000000 --- a/gtk/ColorSelectionDialog.cs +++ /dev/null @@ -1,40 +0,0 @@ -// Gtk.ColorSelectionDialog.cs - Gtk ColorSelectionDialog class customizations -// -// Author: Duncan Mak (duncan@ximian.com) -// -// Copyright (C) 2002 Ximian, Inc. -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of version 2 of the Lesser GNU General -// Public License as published by the Free Software Foundation. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this program; if not, write to the -// Free Software Foundation, Inc., 59 Temple Place - Suite 330, -// Boston, MA 02111-1307, USA. - -namespace Gtk { - - using System; - - public partial class ColorSelectionDialog { - - [Obsolete ("Do not use this class. It will cause your app to crash in mysterious ways.")] - public class ColorSelectionButton : Gtk.Button { - private ColorSelectionDialog color_sel; - - public ColorSelectionDialog ColorSelectionDialog { - get { return color_sel; } - } - - public ColorSelectionButton (ColorSelectionDialog cs, IntPtr raw) : base (raw) { - color_sel = cs; - } - } - } -} diff --git a/gtk/Makefile.am b/gtk/Makefile.am index d87217639..78a30aa05 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -32,7 +32,6 @@ sources = \ ChildPropertyAttribute.cs \ Clipboard.cs \ ColorSelection.cs \ - ColorSelectionDialog.cs \ ComboBox.cs \ ComboBoxText.cs \ Container.cs \