diff --git a/ChangeLog b/ChangeLog index 61d35e45c..de266a5f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-12 Mike Kestner + + * generator/SymbolTable.cs: remove GCallback mapping. + * glib/GCallback.cs: kill, bad idea. + 2007-11-12 Mike Kestner * glib/IOChannel.cs: IOChannel wrapper implementation. diff --git a/generator/SymbolTable.cs b/generator/SymbolTable.cs index f11e0edbd..ce1c176ce 100644 --- a/generator/SymbolTable.cs +++ b/generator/SymbolTable.cs @@ -75,7 +75,6 @@ namespace GtkSharp.Generation { AddType (new SimpleGen ("double", "double", "0.0")); AddType (new SimpleGen ("GQuark", "int", "0")); AddType (new SimpleGen ("GSourceFunc", "GLib.GSourceFunc", "null")); - AddType (new SimpleGen ("GCallback", "GLib.GCallback", "null")); // platform specific integer types. AddType (new LPGen ("ssize_t")); diff --git a/glib/GCallback.cs b/glib/GCallback.cs deleted file mode 100644 index 99b60ea0e..000000000 --- a/glib/GCallback.cs +++ /dev/null @@ -1,29 +0,0 @@ -// GLib.Callback.cs - Callback delegate -// -// Author: Mike Kestner -// -// Copyright (c) 2007 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; - - [CDeclCallback] - public delegate void GCallback (); - -} diff --git a/glib/Makefile.am b/glib/Makefile.am index fba29e1c6..c44dfd10d 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -27,7 +27,6 @@ sources = \ EnumWrapper.cs \ ExceptionManager.cs \ FileUtils.cs \ - GCallback.cs \ GException.cs \ GInterfaceAdapter.cs \ GInterfaceAttribute.cs \