Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
gtk-sharp2
gtk-sharp-2.12.6-bnc450119.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtk-sharp-2.12.6-bnc450119.patch of Package gtk-sharp2
Index: generator/Signal.cs =================================================================== --- generator/Signal.cs (revision 120085) +++ generator/Signal.cs (working copy) @@ -308,19 +308,6 @@ sw.WriteLine ("\tpublic class " + EventArgsName + " : GLib.SignalArgs {"); for (int i = 1; i < parms.Count; i++) { sw.WriteLine ("\t\tpublic " + parms[i].CSType + " " + parms[i].StudlyName + "{"); - if (parms[i].PassAs == "ref" && parms[i].CSType == "int") { - // Special hack around GtkEditable::text_inserted G_TYPE_POINTER usage - sw.WriteLine ("\t\t\tget {"); - sw.WriteLine ("\t\t\t\treturn System.Runtime.InteropServices.Marshal.ReadInt32 ((IntPtr) Args[" + (i - 1) + "]);"); - sw.WriteLine ("\t\t\t}"); - sw.WriteLine ("\t\t\tset {"); - sw.WriteLine ("\t\t\t\tSystem.Runtime.InteropServices.Marshal.WriteInt32 ((IntPtr) Args[" + (i - 1) + "], value);"); - sw.WriteLine ("\t\t\t}"); - sw.WriteLine ("\t\t}"); - sw.WriteLine (); - continue; - } - if (parms[i].PassAs != "out") { sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn (" + parms[i].CSType + ") Args[" + (i - 1) + "];");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor