Example #1
0
 static bool EqualCallback(IntPtr icon1, IntPtr icon2)
 {
     try {
         GLib.IconImplementor __obj = GLib.Object.GetObject(icon1, false) as GLib.IconImplementor;
         bool __result = __obj.Equal(GLib.IconAdapter.GetObject(icon2, false));
         return(__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }
Example #2
0
 static uint HashCallback(IntPtr icon)
 {
     try {
         GLib.IconImplementor __obj = GLib.Object.GetObject(icon, false) as GLib.IconImplementor;
         uint __result = __obj.Hash();
         return(__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }