[Monodevelop-patches-list] r1181 - trunk/MonoDevelop/gtkmozembed-sharp
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Tue Mar 16 16:11:16 EST 2004
Author: jluke
Date: 2004-03-16 16:11:16 -0500 (Tue, 16 Mar 2004)
New Revision: 1181
Modified:
trunk/MonoDevelop/gtkmozembed-sharp/EmbedWidget.custom
Log:
compile fix for gtk# cvs,
probably not the ideal solution
(yes you have to update to Gtk# cvs)
Modified: trunk/MonoDevelop/gtkmozembed-sharp/EmbedWidget.custom
===================================================================
--- trunk/MonoDevelop/gtkmozembed-sharp/EmbedWidget.custom 2004-03-16 20:38:33 UTC (rev 1180)
+++ trunk/MonoDevelop/gtkmozembed-sharp/EmbedWidget.custom 2004-03-16 21:11:16 UTC (rev 1181)
@@ -1,22 +1,22 @@
[GLib.Signal("new_window")]
public event GtkMozEmbedSharp.NewWindowHandler NewWindow {
add {
- if (EventList["new_window"] == null)
- Signals["new_window"] = new GtkMozEmbedSharp.voidObjectObjectuintSignal(this, Handle, "new_window", value, System.Type.GetType("GtkMozEmbedSharp.NewWindowArgs,gtkmozembed-sharp"));
+ if (AfterHandlers["new_window"] == null)
+ AfterSignals["new_window"] = new GtkMozEmbedSharp.voidObjectObjectuintSignal (this, Handle, "new_window", value, System.Type.GetType("GtkMozEmbedSharp.NewWindowArgs,gtkmozembed-sharp"));
else
- ((GtkSharp.SignalCallback) Signals ["new_window"]).AddDelegate (value);
- EventList.AddHandler("new_window", value);
+ ((GtkSharp.SignalCallback) AfterSignals ["new_window"]).AddDelegate (value);
+ AfterHandlers.AddHandler ("new_window", value);
}
remove {
- EventList.RemoveHandler("new_window", value);
- GtkSharp.SignalCallback cb = Signals ["new_window"] as GtkSharp.SignalCallback;
+ AfterHandlers.RemoveHandler ("new_window", value);
+ GtkSharp.SignalCallback cb = AfterSignals ["new_window"] as GtkSharp.SignalCallback;
if (cb == null)
return;
cb.RemoveDelegate (value);
- if (EventList["new_window"] == null) {
- Signals.Remove("new_window");
+ if (AfterHandlers["new_window"] == null) {
+ AfterSignals.Remove("new_window");
cb.Dispose ();
}
}
More information about the Monodevelop-patches-list
mailing list