From 53fdda0f5196ea0019ff57a176874fe4e417a324 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Wed, 9 Feb 2011 10:43:35 -0600 Subject: [PATCH] Kill the CDeclCallback attr. * glib/CDeclCallbackAttribute.cs: kill, we now use UnmanagedFunctionPtr. * glib/Makefile.am: remove file --- glib/CDeclCallbackAttribute.cs | 30 ------------------------------ glib/Makefile.am | 1 - 2 files changed, 31 deletions(-) delete mode 100644 glib/CDeclCallbackAttribute.cs diff --git a/glib/CDeclCallbackAttribute.cs b/glib/CDeclCallbackAttribute.cs deleted file mode 100644 index 43897292d..000000000 --- a/glib/CDeclCallbackAttribute.cs +++ /dev/null @@ -1,30 +0,0 @@ -// CDeclCallbackAttribute.cs -// -// Author: Mike Kestner -// -// Copyright (c) 2005 Novell, 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 GLib { - - using System; - - [Obsolete ("Use System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute instead")] - public sealed class CDeclCallbackAttribute : Attribute - { - } -} diff --git a/glib/Makefile.am b/glib/Makefile.am index 3962717ca..b8bdc41ea 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -21,7 +21,6 @@ references = sources = \ Argv.cs \ Boxed.cs \ - CDeclCallbackAttribute.cs \ ConnectBeforeAttribute.cs \ DefaultSignalHandlerAttribute.cs \ DelegateWrapper.cs \